# 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 = "protwrap" version = "0.3.3" build = false exclude = [ ".fossil-settings", ".efiles", ".fslckout", "examples", "www", "bacon.toml", "rustfmt.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Thin protocol wrapper for network applications." readme = "README.md" keywords = [ "network", "wrapper", ] categories = [ "asynchronous", "network-programming", ] license = "0BSD" repository = "https://repos.qrnch.tech/pub/protwrap" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", "--generate-link-to-definition", ] [lib] name = "protwrap" path = "src/lib.rs" [[test]] name = "listener-acceptor" path = "tests/listener-acceptor.rs" [dependencies.async-trait] version = "0.1.82" optional = true [dependencies.killswitch] version = "0.4.2" optional = true [dependencies.tokio] version = "1.37.0" features = [ "macros", "net", "rt", ] optional = true [dependencies.tokio-rustls] version = "0.24.0" features = ["dangerous_configuration"] optional = true [dependencies.tokio-util] version = "0.7.12" optional = true [dev-dependencies.tokio] version = "1.38.0" features = [ "io-util", "rt-multi-thread", "time", ] [features] tls = ["dep:tokio-rustls"] tokio = [ "dep:tokio", "dep:tokio-util", "dep:async-trait", "dep:killswitch", ] [target."cfg(unix)".dependencies.tokio] version = "1.40.0" features = ["fs"] optional = true [badges.maintenance] status = "experimental" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1