# 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 = "cody-c" version = "0.4.0" authors = ["Jad K. Haddad "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple and zerocopy codec for encoding and decoding data in no_std environments." readme = "README.md" keywords = [ "codec", "no_std", "embedded", "encode", "decode", ] license = "MIT OR Apache-2.0" repository = "https://github.com/JadKHaddad/Cody-C" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "cody_c" path = "src/lib.rs" [dependencies.bincode] version = "2.0.0-rc.3" optional = true default-features = false [dependencies.crc32fast] version = "1.4.2" optional = true default-features = false [dependencies.defmt] version = "0.3.6" optional = true default-features = false [dependencies.derive_more] version = "1" features = ["from"] optional = true default-features = false [dependencies.embedded-io-async] version = "0.6.1" optional = true [dependencies.futures] version = "0.3.31" default-features = false [dependencies.heapless] version = "0.8.0" default-features = false [dependencies.log] version = "0.4.22" optional = true default-features = false [dependencies.serde] version = "1.0.214" features = ["derive"] optional = true default-features = false [dependencies.serde-json-core] version = "0.6.0" optional = true [dependencies.tokio] version = "1.41.0" features = ["io-util"] optional = true default-features = false [dependencies.tokio-util] version = "0.7.12" features = ["codec"] optional = true default-features = false [dependencies.tracing] version = "0.1.40" optional = true default-features = false [dependencies.zerocopy] version = "0.8.1" features = ["derive"] optional = true [dev-dependencies.bincode] version = "2.0.0-rc.3" features = [ "derive", "std", "serde", ] default-features = false [dev-dependencies.heapless] version = "0.8.0" features = ["serde"] default-features = false [dev-dependencies.serde] version = "1.0.214" features = ["derive"] default-features = false [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing] version = "0.1.40" default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] bincode = ["dep:bincode"] buffer-early-shift = [] char-fmt = [] default = ["char-fmt"] defmt = ["dep:defmt"] demo = [ "dep:zerocopy", "dep:serde", "dep:serde-json-core", "dep:derive_more", "dep:crc32fast", ] embedded-io-async = ["dep:embedded-io-async"] futures-io = ["futures/std"] log = ["dep:log"] pretty-hex-fmt = [] std = [ "bincode/std", "futures/std", ] tokio = [ "dep:tokio", "dep:tokio-util", ] tracing = ["dep:tracing"]