# 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" rust-version = "1.56" name = "apollo-client" version = "0.8.0" authors = ["jmjoy <918734043@qq.com>"] exclude = [ "sql", "docker-compose.yml", "test-coverage.sh", ] description = "Ctrip Apollo client for Rust🦀." documentation = "https://docs.rs/apollo-client" readme = "README.md" keywords = [ "ctrip", "apollo", "client", ] license = "Unlicense" repository = "https://github.com/jmjoy/apollo-client" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "basic" required-features = ["conf"] [[example]] name = "auth" required-features = [ "conf", "auth", ] [[example]] name = "watch" required-features = ["conf"] [[example]] name = "app" required-features = ["open"] [[test]] name = "conf" required-features = ["conf"] [[test]] name = "open" required-features = ["open"] [dependencies.async-stream] version = "0.3.5" optional = true [dependencies.async-trait] version = "0.1.80" [dependencies.base64] version = "0.22.1" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4.26" optional = true [dependencies.cidr-utils] version = "0.6.1" optional = true [dependencies.form_urlencoded] version = "1.2.1" [dependencies.futures-core] version = "0.3.30" [dependencies.futures-util] version = "0.3.30" [dependencies.hmac] version = "0.12.1" optional = true [dependencies.hostname] version = "0.4.0" optional = true [dependencies.http] version = "1.1.0" [dependencies.log] version = "0.4.18" [dependencies.once_cell] version = "1.17.2" [dependencies.reqwest] version = "0.12.5" features = [ "cookies", "json", ] default-features = false [dependencies.rust-ini] version = "0.21.0" optional = true [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.serde_json] version = "1.0.117" features = ["preserve_order"] [dependencies.sha1] version = "0.10.6" optional = true [dependencies.systemstat] version = "0.2.3" optional = true [dependencies.thiserror] version = "1.0.61" [dependencies.url] version = "2.5.2" [dependencies.urlencoding] version = "2.1.3" optional = true [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.futures] version = "0.3.30" features = ["alloc"] [dev-dependencies.tokio] version = "1.29.1" features = ["full"] [features] auth = [ "chrono", "hmac", "sha1", "base64", "urlencoding", ] conf = [ "async-stream", "rust-ini", "host", ] default = [ "conf", "default-tls", ] default-tls = ["reqwest/default-tls"] full = ["open"] host = [ "host-ip", "host-name", ] host-ip = [ "systemstat", "cidr-utils", ] host-name = ["hostname"] open = ["chrono/serde"]