# 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 = "the-bridge" version = "0.3.1" authors = ["Jad K. Haddad "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Simple and Efficient Binary Protocol Bridge for std and no_std Environments" readme = "README.md" keywords = [ "protocol", "async", "no_std", "embedded", ] license = "MIT OR Apache-2.0" repository = "https://github.com/JadKHaddad/the-bridge" [lib] name = "the_bridge" path = "src/lib.rs" [[example]] name = "server" path = "examples/server.rs" required-features = [ "tokio", "demo", ] [[bench]] name = "sink_stream" path = "benches/sink_stream.rs" harness = false required-features = [ "cody-c", "tokio", ] [dependencies.bincode] version = "2.0.0-rc.3" features = ["derive"] default-features = false [dependencies.cody-c] version = "0.3.1" optional = true default-features = false [dependencies.tokio-util] version = "0.7.12" features = ["codec"] optional = true default-features = false [dev-dependencies.bincode] version = "2.0.0-rc.3" features = [ "derive", "std", ] default-features = false [dev-dependencies.cody-c] version = "0.3.1" features = ["tokio"] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.futures] version = "0.3.31" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tokio-util] version = "0.7.11" features = ["codec"] [dev-dependencies.tracing] version = "0.1.40" default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] cody-c = ["dep:cody-c"] default = [ "cody-c", "tokio", ] demo = [] std = [] tokio = [ "std", "dep:tokio-util", "bincode/std", ]