# 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 = "rspamd-client" version = "0.2.0" exclude = [".idea/"] description = "Rspamd client API" homepage = "https://rspamd.com" readme = "README.md" keywords = [ "rspamd", "http", ] categories = ["email"] license = "Apache-2.0" repository = "https://github.com/rspamd/rspamdclient-rs" [dependencies.async-trait] version = "0.1" [dependencies.attohttpc] version = "0.28" optional = true [dependencies.blake2b_simd] version = "1.0" [dependencies.bytes] version = "1.7.2" [dependencies.chacha20] version = "0.9" [dependencies.crypto_box] version = "0.9" features = [ "chacha20", "alloc", "getrandom", ] default-features = false [dependencies.crypto_secretbox] version = "0.1" features = ["chacha20"] default-features = false [dependencies.curve25519-dalek] version = "4.1" [dependencies.futures] version = "0.3.31" [dependencies.httparse] version = "1.9" [dependencies.maybe-async] version = "0.2" [dependencies.native-tls] version = "0.2" [dependencies.poly1305] version = "0.8" [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls", "zstd", ] optional = true [dependencies.rspamd-base32] version = "0.1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.34" features = ["full"] optional = true [dependencies.tokio-stream] version = "0.1.16" [dependencies.typed-builder] version = "0.20" [dependencies.ureq] version = "2.5" optional = true [dependencies.url] version = "2.5" [dependencies.zstd] version = "0.13" [features] async = [ "reqwest", "tokio", ] default = ["async"] sync = [ "attohttpc", "maybe-async/is_sync", ]