[package] name = "nats" version = "0.25.0" description = "A Rust NATS client" authors = ["Derek Collison ", "Tyler Neely ", "Stjepan Glavina "] edition = "2018" license = "Apache-2.0" documentation = "https://docs.rs/nats" homepage = "https://github.com/nats-io/nats.rs" repository = "https://github.com/nats-io/nats.rs" readme = "README.md" keywords = ["nats", "client", "messaging", "api"] categories = ["network-programming", "api-bindings"] [features] fault_injection = [] unstable = [] [package.metadata.docs.rs] features = ["unstable"] rustdoc-args = ["--cfg", "docsrs"] [badges] maintenance = { status = "actively-developed" } [dependencies] base64 = "0.13.0" base64-url = "1.4.10" blocking = "1.1.0" crossbeam-channel = "0.5.1" fastrand = "1.5.0" itoa = "1.0.1" json = "0.12.4" lazy_static = "1.4.0" log = "0.4.14" nkeys = "0.4.1" nuid = "0.3.1" once_cell = "1.8.0" parking_lot = "0.12.0" portable-atomic = "1" regex = { version = "1.5.5", default-features = false, features = ["std", "unicode-perl"] } rustls = "0.22" rustls-native-certs = "0.7" rustls-pemfile = "2" webpki = { package = "rustls-webpki", version = "0.102"} serde = { version = "1.0.126", features = ["derive"] } serde_json = "1.0.64" serde_nanos = "0.1.1" serde_repr = "0.1.7" memchr = "2.4.0" url = "2.2.2" time = { version = "0.3.6", features = ["parsing", "formatting", "serde", "serde-well-known"] } ring = "0.17" [target.'cfg(unix)'.dependencies] libc = "0.2.98" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.9", features = ["winsock2"] } [dev-dependencies] rand = "0.8.4" criterion = { version ="0.3.5", features = ["html_reports"] } env_logger = "0.9.0" historian = "4.0.4" nats_test_server = { path = "nats_test_server" } quicli = "0.4.0" smol = "1.2.5" structopt = "0.3.21" nats_016 = { package = "nats", version = "0.16.0" } nats-server = { path = "../nats-server" } [[bench]] name = "nats_bench" harness = false [[example]] name = "nats-box" path = "examples/nats-box/main.rs" [[example]] name = "serde-json" path = "examples/serde-json/main.rs" [[example]] name = "async_nats_bench" path = "examples/async_nats_bench.rs"