# 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-io" version = "0.3.0" authors = ["1337"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ Async agnostic/Sync IO & buffer management abstractions. """ homepage = "https://github.com/threadexio/channels-rs" documentation = "https://docs.rs/channels-io" readme = "README.md" keywords = ["io"] categories = [ "asynchronous", "network-programming", "no-std", "no-std::no-alloc", ] 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_io" path = "src/lib.rs" [dependencies.channels-macros] version = "=0.1.0" [dependencies.core2] version = "0.4" optional = true default-features = false [dependencies.embedded-io] version = "0.6" optional = true [dependencies.futures] version = "0.3" features = ["std"] optional = true default-features = false [dependencies.pin-project] version = "1.0" [dependencies.smol] version = "2" optional = true [dependencies.tokio] version = "1" optional = true [dev-dependencies.async-std] version = "1" [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1" features = ["full"] [features] alloc = [] core2 = ["dep:core2"] embedded-io = ["dep:embedded-io"] futures = [ "dep:futures", "std", ] smol = ["dep:smol"] std = ["alloc"] tokio = [ "dep:tokio", "std", ] [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"