apollo-rust-client 0.7.0

A Rust client for Apollo configuration center
Documentation
# 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 = "2024"
name = "apollo-rust-client"
version = "0.7.0"
authors = ["Qian Qiao <qian.qiao@pm.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust client for Apollo configuration center"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/qqiao/apollo-rust-client"

[features]
default = ["native-tls"]
native-tls = ["reqwest/default-tls"]
rustls = ["reqwest/rustls-tls"]

[lib]
name = "apollo_rust_client"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.cfg-if]
version = "1.0.4"

[dependencies.chrono]
version = "0.4.44"

[dependencies.futures]
version = "0.3.32"

[dependencies.hmac]
version = "0.13.0"

[dependencies.log]
version = "0.4.29"

[dependencies.reqwest]
version = "0.12.28"
features = [
    "http2",
    "json",
]
default-features = false

[dependencies.serde]
version = "1.0.228"

[dependencies.serde-wasm-bindgen]
version = "0.6.5"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha1]
version = "0.11.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.1"
features = [
    "sync",
    "rt",
    "time",
]

[dependencies.url]
version = "2.5.8"

[dependencies.wasm-bindgen]
version = "0.2.122"

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.lazy_static]
version = "1.5.0"

[dev-dependencies.tokio]
version = "1.52.1"
features = ["macros"]

[dev-dependencies.web-sys]
version = "0.3.95"
features = [
    "Window",
    "console",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.chrono]
version = "0.4.44"
features = ["wasmbind"]

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.99"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.72"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-test]
version = "0.3.72"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-logger]
version = "0.2.0"

[lints.clippy]
pedantic = "warn"

[profile.dev]
debug = 2