# 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 = "zbx_sender" version = "0.4.1" authors = ["Alexander Andreev "] description = "Implementation of Zabbix Sender Client." homepage = "https://github.com/ava57r/zbx-sender-rs" documentation = "https://docs.rs/zbx_sender" readme = "README.md" keywords = [ "zabbix", "zabbix-sender", "zabbix-protocol", ] license = "MIT" repository = "https://github.com/ava57r/zbx-sender-rs" resolver = "2" [package.metadata."docs.rs"] features = [ "async_tokio", "tls_openssl", "tls_openssl_tokio", "clap", ] [[example]] name = "clap_sender" required-features = ["clap"] [[example]] name = "tls_sender" required-features = [ "_tls_common", "clap", ] [[example]] name = "tls_sender_async" required-features = [ "_tls_common", "clap", "async_tokio", ] [[example]] name = "sender" [[example]] name = "bulk_sender" [dependencies.byteorder] version = "1.4" [dependencies.clap] version = "3.1.17" features = [ "std", "derive", ] optional = true default-features = false [dependencies.derive_builder] version = "0.11.2" optional = true [dependencies.hex] version = "0.4.3" optional = true [dependencies.lazy_static] version = "1.4" [dependencies.openssl] version = "0.10.40" optional = true [dependencies.openssl-errors] version = "0.2.0" optional = true [dependencies.regex] version = "1.5" [dependencies.rustls] version = "0.20.4" features = ["dangerous_configuration"] optional = true [dependencies.rustls-native-certs] version = "0.6.2" optional = true [dependencies.rustls-pemfile] version = "1.0.0" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1.0.31" [dependencies.tokio] version = "1.18" features = [ "net", "io-util", ] optional = true [dependencies.tokio-openssl] version = "0.6.3" optional = true [dependencies.tokio-rustls] version = "0.23.4" optional = true [dependencies.tracing] version = "0.1" features = [ "log", "std", ] optional = true default-features = false [dependencies.x509-certificate] version = "0.13.0" optional = true [dev-dependencies.anyhow] version = "1.0.57" [dev-dependencies.csv] version = "1.1.6" [dev-dependencies.mock-io] version = "0.3.2" features = [ "sync", "async-tokio", ] [dev-dependencies.tokio] version = "1.18.1" features = [ "net", "io-util", "rt", "macros", ] [dev-dependencies.tokio-test] version = "0.4.2" [features] _tls_common = ["derive_builder"] async_tokio = ["tokio"] tls_openssl = [ "_tls_common", "openssl", "openssl-errors", "hex", ] tls_openssl_tokio = ["tokio-openssl"] tls_rustls = [ "_tls_common", "rustls", "rustls-pemfile", "rustls-native-certs", "x509-certificate", ] tls_rustls_tokio = ["tokio-rustls"]