# 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 = "biliapi" version = "0.1.18" authors = ["gwy15 "] description = "哔哩哔哩 API 的部分实现" homepage = "https://github.com/gwy15/biliapi" documentation = "https://docs.rs/biliapi/" license = "MIT" repository = "https://github.com/gwy15/biliapi" resolver = "2" [package.metadata.docs.rs] features = [ "rustls", "live", ] [[example]] name = "record-to-file" required-features = ["live"] [dependencies.async-tungstenite] version = "0.13.1" optional = true default-features = false [dependencies.byteorder] version = "1.4.3" optional = true [dependencies.chrono] version = "0.4.19" features = ["serde"] [dependencies.enum-repr] version = "0.2.6" optional = true [dependencies.flate2] version = "1.0.20" features = ["zlib"] optional = true [dependencies.futures] version = "0.3.15" optional = true [dependencies.log] version = "0.4.14" [dependencies.reqwest] version = "0.11.3" features = [ "cookies", "json", ] default-features = false [dependencies.serde] version = "1.0.126" features = ["derive"] [dependencies.serde_json] version = "1.0.64" [dependencies.serde_with] version = "1.9.4" features = ["macros"] [dependencies.thiserror] version = "1.0.24" [dependencies.tokio] version = "1.0" features = ["rt"] [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.clap] version = "3.0.14" features = ["derive"] [dev-dependencies.cookie_store] version = "0.15.0" [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.pretty_env_logger] version = "0.4.0" [dev-dependencies.qrcode] version = "0.12.0" [dev-dependencies.reqwest_cookie_store] version = "0.2.0" [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt", "rt-multi-thread", "fs", "io-util", ] [dev-dependencies.tokio-test] version = "0.4.2" [features] default = [] live = [ "async-tungstenite", "byteorder", "enum-repr", "flate2", "futures", ] native-tls = [ "reqwest/native-tls", "async-tungstenite?/tokio-native-tls", ] rustls = [ "reqwest/rustls-tls", "async-tungstenite?/tokio-rustls", ]