# 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 = "bililive" version = "0.2.0-beta.5" authors = ["LightQuantum "] description = "A simple stream-based bilibili live client library." readme = "README.md" keywords = ["bilibili", "live", "stream", "client", "danmaku"] license = "MIT" repository = "https://github.com/PhotonQuantum/bililive-rs" [package.metadata.docs.rs] all-features = true [dependencies.async-std] version = "1.10" optional = true [dependencies.async-tungstenite] version = "0.17" default-features = false [dependencies.bililive-core] version = "0.1.0-beta.4" default-features = false [dependencies.futures] version = "0.3" [dependencies.http-client] version = "6.5" optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.reqwest] version = "0.11" optional = true default-features = false [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.stream-reconnect] version = "0.4.0-beta.1" default-features = false [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.16" optional = true [dependencies.url] version = "2.2" features = ["serde"] [dev-dependencies.async-std] version = "1.10" features = ["attributes"] [dev-dependencies.pretty_env_logger] version = "0.4" [dev-dependencies.tokio] version = "1.16" features = ["macros", "rt-multi-thread"] [dev-dependencies.tokio-test] version = "0.4" [features] async-native-tls = ["async-std", "async-tungstenite/async-native-tls", "h1-client", "http-client/native-tls", "stream-reconnect/async-std", "bililive-core/async-std"] default = ["tokio-native-tls"] h1-client = ["http-client/h1_client"] tokio-native-tls = ["tokio", "async-tungstenite/tokio-native-tls", "reqwest/native-tls", "stream-reconnect/tokio", "bililive-core/tokio"] tokio-rustls-native-certs = ["tokio", "async-tungstenite/tokio-rustls-native-certs", "reqwest/rustls-tls-native-roots", "stream-reconnect/tokio", "bililive-core/tokio"] tokio-rustls-webpki-roots = ["tokio", "async-tungstenite/tokio-rustls-webpki-roots", "reqwest/rustls-tls-webpki-roots", "stream-reconnect/tokio", "bililive-core/tokio"]