# 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 = "2018" name = "async-transmit" version = "1.0.0" authors = ["Alisue "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Trait for transmitting data to peers asynchronously." readme = "README.md" keywords = [ "async", "trait", "sender", "sink", ] license = "MIT" repository = "https://github.com/lambdalisue/rs-async-transmit" [package.metadata.docs.rs] all-features = true [lib] name = "async_transmit" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.44" [dependencies.async-channel] version = "2.1.1" optional = true [dependencies.async-trait] version = "0.1.51" [dependencies.futures-core] version = "0.3.17" [dependencies.futures-sink] version = "0.3.17" optional = true [dependencies.futures-util] version = "0.3.17" optional = true [dependencies.tokio] version = "1.11.0" optional = true [dev-dependencies.anyhow] version = "1.0.44" [dev-dependencies.futures] version = "0.3.17" [dev-dependencies.futures-await-test] version = "0.3.0" [features] with-async-channel = ["async-channel"] with-sink = [ "futures-sink", "futures-util/sink", ] with-tokio = ["tokio/sync"]