[package] name = "protwrap" version = "0.3.3" edition = "2021" license = "0BSD" # https://crates.io/category_slugs categories = [ "asynchronous", "network-programming" ] keywords = [ "network", "wrapper" ] repository = "https://repos.qrnch.tech/pub/protwrap" description = "Thin protocol wrapper for network applications." exclude = [ ".fossil-settings", ".efiles", ".fslckout", "examples", "www", "bacon.toml", "rustfmt.toml" ] # https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section [badges] maintenance = { status = "experimental" } [features] tls = ["dep:tokio-rustls"] tokio = ["dep:tokio", "dep:tokio-util", "dep:async-trait", "dep:killswitch"] [dependencies] async-trait = { version = "0.1.82", optional = true } killswitch = { version = "0.4.2", optional = true } tokio = { version = "1.37.0", optional = true, features = [ "macros", "net", "rt" ] } tokio-rustls = { version = "0.24.0", optional = true, features = [ "dangerous_configuration" ] } tokio-util = { version = "0.7.12", optional = true } [target.'cfg(unix)'.dependencies] tokio = { version = "1.40.0", optional = true, features = ["fs"] } [dev-dependencies] tokio = { version = "1.38.0", features = [ "io-util", "rt-multi-thread", "time" ] } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [lints.clippy] all = { level = "deny", priority = -1 } pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } cargo = { level = "warn", priority = -1 }