[package]
edition = "2018"
name = "nats"
version = "0.26.0"
authors = [
"Derek Collison <derek@nats.io>",
"Tyler Neely <tyler@nats.io>",
"Stjepan Glavina <stjepan@nats.io>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust NATS client (deprecated — use async-nats instead)"
homepage = "https://github.com/nats-io/nats.rs"
documentation = "https://docs.rs/nats"
readme = "README.md"
keywords = [
"nats",
"client",
"messaging",
"api",
]
categories = [
"network-programming",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/nats-io/nats.rs"
[package.metadata.docs.rs]
features = ["unstable"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "deprecated"
[features]
fault_injection = []
unstable = []
[lib]
name = "nats"
path = "src/lib.rs"
[[example]]
name = "async_nats_bench"
path = "examples/async_nats_bench.rs"
[[example]]
name = "nats-box"
path = "examples/nats-box/main.rs"
[[example]]
name = "nats_bench"
path = "examples/nats_bench.rs"
[[example]]
name = "serde-json"
path = "examples/serde-json/main.rs"
[[test]]
name = "async_errors"
path = "tests/async_errors.rs"
[[test]]
name = "auth_nkey"
path = "tests/auth_nkey.rs"
[[test]]
name = "auth_tls"
path = "tests/auth_tls.rs"
[[test]]
name = "auth_token"
path = "tests/auth_token.rs"
[[test]]
name = "auth_user_pass"
path = "tests/auth_user_pass.rs"
[[test]]
name = "drain"
path = "tests/drain.rs"
[[test]]
name = "drop"
path = "tests/drop.rs"
[[test]]
name = "jetstream"
path = "tests/jetstream.rs"
[[test]]
name = "kv"
path = "tests/kv.rs"
[[test]]
name = "lame_duck_mode"
path = "tests/lame_duck_mode.rs"
[[test]]
name = "no_messages"
path = "tests/no_messages.rs"
[[test]]
name = "no_responders"
path = "tests/no_responders.rs"
[[test]]
name = "object_store"
path = "tests/object_store.rs"
[[test]]
name = "reconnection"
path = "tests/reconnection.rs"
[[test]]
name = "request_timeout"
path = "tests/request_timeout.rs"
[[test]]
name = "slow_consumer"
path = "tests/slow_consumer.rs"
[[bench]]
name = "nats_bench"
path = "benches/nats_bench.rs"
harness = false
[dependencies.base64]
version = "0.13.0"
[dependencies.base64-url]
version = "1.4.10"
[dependencies.blocking]
version = "1.1.0"
[dependencies.crossbeam-channel]
version = "0.5.1"
[dependencies.fastrand]
version = "1.5.0"
[dependencies.itoa]
version = "1.0.1"
[dependencies.json]
version = "0.12.4"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.log]
version = "0.4.14"
[dependencies.memchr]
version = "2.4.0"
[dependencies.nkeys]
version = "0.4.1"
[dependencies.nuid]
version = "0.5.0"
[dependencies.once_cell]
version = "1.8.0"
[dependencies.parking_lot]
version = "0.12.0"
[dependencies.portable-atomic]
version = "1"
[dependencies.regex]
version = "1.5.5"
features = [
"std",
"unicode-perl",
]
default-features = false
[dependencies.ring]
version = "0.17"
[dependencies.rustls]
version = "0.22"
[dependencies.rustls-native-certs]
version = "0.7"
[dependencies.rustls-pemfile]
version = "2"
[dependencies.serde]
version = "1.0.126"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.64"
[dependencies.serde_nanos]
version = "0.1.1"
[dependencies.serde_repr]
version = "0.1.7"
[dependencies.time]
version = "0.3.6"
features = [
"parsing",
"formatting",
"serde",
"serde-well-known",
]
[dependencies.url]
version = "2.2.2"
[dependencies.webpki]
version = "0.102"
package = "rustls-webpki"
[dev-dependencies.criterion]
version = "0.3.5"
features = ["html_reports"]
[dev-dependencies.env_logger]
version = "0.9.0"
[dev-dependencies.historian]
version = "4.0.4"
[dev-dependencies.quicli]
version = "0.4.0"
[dev-dependencies.rand]
version = "0.8.4"
[dev-dependencies.smol]
version = "1.2.5"
[dev-dependencies.structopt]
version = "0.3.21"
[target."cfg(unix)".dependencies.libc]
version = "0.2.98"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = ["winsock2"]