# 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 = "2018" name = "rants" version = "0.6.0" authors = ["David McNeil "] exclude = ["rust-toolchain", ".vscode"] description = "An async NATS client library." readme = "README.md" keywords = ["client", "nats", "pub-sub", "messaging", "queue"] categories = ["asynchronous", "api-bindings", "database-implementations", "network-programming", "parser-implementations"] license = "MIT OR Apache-2.0" repository = "https://github.com/davidMcneil/rants" [dependencies.bytes] version = "1.1" [dependencies.futures] version = "0.3" [dependencies.log] version = "0.4" [dependencies.native-tls-crate] version = "0.2" optional = true package = "native-tls" [dependencies.nom] version = "7.1" [dependencies.owning_ref] version = "0.4" [dependencies.pin-project] version = "1.0" [dependencies.rand] version = "0.8" [dependencies.rustls] version = "0.20" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.13" features = ["io-util", "macros", "sync", "time", "net"] [dependencies.tokio-native-tls] version = "0.3" optional = true [dependencies.tokio-rustls] version = "0.23" optional = true [dependencies.tokio-stream] version = "0.1" features = ["sync"] [dependencies.tokio-util] version = "0.6" features = ["codec"] [dependencies.uuid] version = "0.8" features = ["v4"] [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.hostname] version = "0.3" [dev-dependencies.rustls-pemfile] version = "0.2" [dev-dependencies.tokio] version = "1.13" features = ["process", "rt-multi-thread"] [features] default = [] native-tls = ["native-tls-crate", "tokio-native-tls", "tls"] rustls-tls = ["rustls", "tokio-rustls", "tls"] tls = []