[package] name = "connection-utils" description = "Connection related utilities." version = "0.8.0" edition = "2018" authors = [ "Oleg Solomka " ] homepage = "https://github.com/legomushroom/connection-util-rs" repository = "https://github.com/legomushroom/connection-util-rs" license = "MIT" [lib] bench = false [features] test = [] all = ["test"] [dependencies] serde = "1" anyhow = "1" async-trait = "0.1" tokio = { version = "1", features = ["full"] } cs-utils = { version = "0.21", features = ["async", "traits"] } cs-trace = "0.12" tokio-util = { version = "0.7", features = ["codec"] } futures = "0.3" bytes = { version = "1" } serde_json = { version = "1" } [dev-dependencies] bytes = "1" rstest = "0.15.0" criterion = { version = "^0.3.0", features = ["async_tokio", "html_reports"] } tokio = { version = "1", features = ["full"] } # Hack so we don't have to enabled features for `cargo test` # See: https://github.com/rust-lang/cargo/issues/2911 connection-utils = { path = ".", features = ["all"] } [[bench]] name = "divide_channel" path = "benches/divide_channel_bench.rs" harness = false [package.metadata.docs.rs] features = ["all"]