# 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 = "channels" version = "0.13.0" authors = ["1337"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ Bidirectional channel-like communication over generic Read/Write streams. """ homepage = "https://github.com/threadexio/channels-rs" documentation = "https://docs.rs/channels" readme = "README.md" keywords = [ "client", "networking", "server", "stream", "channel", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/threadexio/channels-rs" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "channels_nightly", ] rustdoc-args = [ "--cfg", "channels_nightly", ] [lib] name = "channels" path = "src/lib.rs" [dependencies.channels-io] version = "=0.3.0" features = ["alloc"] [dependencies.channels-macros] version = "=0.1.0" [dependencies.channels-packet] version = "=0.2.0" [dependencies.channels-serdes] version = "=0.2.1" [dependencies.pin-project] version = "1.0" [dependencies.serde] version = "1.0" optional = true default-features = false [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1" features = ["full"] [features] aead = ["channels-serdes/aead"] bincode = [ "channels-serdes/bincode", "dep:serde", ] borsh = ["channels-serdes/borsh"] cbor = ["channels-serdes/cbor"] core2 = ["channels-io/core2"] crc = ["channels-serdes/crc"] default = [ "std", "bincode", ] deflate = ["channels-serdes/deflate"] embedded-io = ["channels-io/embedded-io"] full = [ "full-io", "full-serdes", "statistics", ] full-io = [ "core2", "embedded-io", "futures", "smol", "std", "tokio", ] full-serdes = [ "aead", "bincode", "borsh", "cbor", "crc", "deflate", "hmac", "json", ] futures = ["channels-io/futures"] hmac = ["channels-serdes/hmac"] json = ["channels-serdes/json"] smol = ["channels-io/smol"] statistics = [] std = ["channels-io/std"] tokio = ["channels-io/tokio"] [lints.clippy] alloc_instead_of_core = "warn" cast_lossless = "warn" cast_possible_wrap = "warn" error_impl_error = "warn" missing_assert_message = "warn" missing_errors_doc = "allow" missing_panics_doc = "warn" missing_safety_doc = "warn" module_name_repetitions = "allow" new_without_default = "allow" std_instead_of_alloc = "warn" std_instead_of_core = "warn" unwrap_used = "warn" useless_conversion = "warn" wrong_self_convention = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.correctness] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "warn" priority = -1 [lints.rust] arithmetic_overflow = "warn" missing_debug_implementations = "warn" missing_docs = "deny" unexpected_cfgs = "allow" [lints.rustdoc] all = "warn" broken_intra_doc_links = "warn" missing_crate_level_docs = "warn"