# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "youtube_dl" version = "0.10.0" authors = ["Martin Tomasi "] description = "Runs yt-dlp and parses its JSON output." homepage = "https://github.com/GyrosOfWar/youtube-dl-rs" readme = "README.md" keywords = [ "youtube-dl", "youtube", "yt-dlp", ] categories = ["multimedia::video"] license = "MIT/Apache-2.0" repository = "https://github.com/GyrosOfWar/youtube-dl-rs" [package.metadata.docs.rs] all-features = true [[example]] name = "async" required-features = ["tokio"] [[example]] name = "downloader" required-features = ["downloader-rustls-tls"] [dependencies.log] version = "0.4" [dependencies.reqwest] version = "0.12" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" features = [ "io-util", "process", "time", "fs", ] optional = true [dependencies.wait-timeout] version = "0.2" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.tempfile] version = "3.7.1" [dev-dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "macros", ] [features] default = [] downloader-native-tls = [ "reqwest", "tokio", "reqwest/native-tls", ] downloader-rustls-tls = [ "reqwest", "tokio", "reqwest/rustls-tls", ]