-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (38 loc) · 1.35 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "youtube-captions"
version = "0.1.0"
author = "strebz"
edition = "2021"
description = "Allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require a headless browser, like other selenium based solutions do!"
license = "MIT"
repository = "https://github.com/xamgore/youtube-captions"
keywords = ["youtube", "captions", "transcript", "subtitles"]
categories = ["api-bindings", "encoding"]
include = ["src", "!src/**/*.snap"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
json3 = []
srv1 = ["quick-xml"]
srv2 = ["quick-xml"]
srv3 = ["quick-xml", "serde_repr"]
ttml = ["quick-xml", "serde_repr"]
[dependencies]
itertools = "0.10"
language-tags = "0.3.2"
lazy_static = "1.4"
quick-xml = { version = "0.28", features = ["serialize", "escape-html"], optional = true }
regex = "1.8"
reqwest = "0.11"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
serde_repr = { version = "0.1", optional = true }
thiserror = "1.0"
tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }
tracing = "0.1"
[dev-dependencies]
insta = { version = "1.29", features = ["json"] }
serde_path_to_error = "0.1.11"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3