# 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 = "pdd" version = "0.1.4" description = "拼多多开放平台sdk" readme = "README.MD" license = "MIT" repository = "https://github.com/Cherrs/pdd-rs" [[example]] name = "wsclient" required-features = ["pmc-native-tls"] [[example]] name = "pmc_client" required-features = ["pmc-native-tls"] [dependencies.base64] version = "0.21" [dependencies.futures-util] version = "0.3" optional = true [dependencies.md-5] version = "0.10" [dependencies.reqwest] version = "0.11" features = [ "json", "multipart", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_with] version = "3" optional = true [dependencies.strum] version = "0.25" [dependencies.strum_macros] version = "0.25" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" features = ["macros"] [dependencies.tokio] version = "1" features = [ "macros", "fs", "time", ] default-features = false [dependencies.tokio-tungstenite] version = "0.20.0" features = ["native-tls"] optional = true [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.tokio] version = "1" features = [ "macros", "fs", "rt-multi-thread", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [features] file = ["tokio/fs"] pmc-native-tls = [ "tokio-tungstenite", "futures-util", "serde_with", ]