# 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 = "tokio-nats" version = "0.4.1" authors = ["Sebastian Zimmer "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Async-await ready NATS library" readme = "README.md" license = "LGPL-3.0" repository = "https://github.com/sebzim4500/tokio-nats" [lib] name = "tokio_nats" path = "src/lib.rs" [[example]] name = "measure_latency" path = "examples/measure_latency.rs" [[example]] name = "simple_client" path = "examples/simple_client.rs" [[example]] name = "tls_client" path = "examples/tls_client.rs" [dependencies.bytes] version = "1.2.1" [dependencies.derive_builder] version = "0.20.1" [dependencies.derive_more] version = "1.0.0" features = ["display"] [dependencies.futures-util] version = "0.3.1" features = [ "sink", "async-await", ] [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "0.12.1" [dependencies.rustls-pemfile] version = "2.2.0" [dependencies.rustls-webpki] version = "0.102.8" [dependencies.serde] version = "1.0.102" features = ["derive"] [dependencies.serde_json] version = "1.0.41" [dependencies.subslice] version = "0.2.2" [dependencies.tokio] version = "1.4" features = ["full"] [dependencies.tokio-rustls] version = "0.26.0" features = [ "logging", "tls12", ] default-features = false [dependencies.tokio-util] version = "0.7.4" features = ["codec"] [dev-dependencies.env_logger] version = "0.11.5" [dev-dependencies.pretty_env_logger] version = "0.5.0" [features] aws-lc-rs = ["aws_lc_rs"] aws_lc_rs = ["tokio-rustls/aws_lc_rs"] default = ["aws-lc-rs"] ring = ["tokio-rustls/ring"]