[dependencies.cobs]
default-features = false
version = "0.2.3"
[dependencies.crc]
optional = true
version = "3.0.1"
[dependencies.defmt]
optional = true
version = "0.3"
[dependencies.embedded-io-04]
optional = true
package = "embedded-io"
version = "0.4"
[dependencies.embedded-io-06]
optional = true
package = "embedded-io"
version = "0.6"
[dependencies.heapless]
default-features = false
features = ["serde"]
optional = true
version = "0.7.0"
[dependencies.paste]
optional = true
version = "1.0.12"
[dependencies.postcard-derive]
optional = true
version = "0.1.2"
[dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.100"
[features]
alloc = ["serde/alloc", "embedded-io-04?/alloc", "embedded-io-06?/alloc"]
default = ["heapless-cas"]
embedded-io = ["dep:embedded-io-04"]
embedded-io-04 = ["dep:embedded-io-04"]
embedded-io-06 = ["dep:embedded-io-06"]
experimental-derive = ["postcard-derive"]
heapless-cas = ["heapless", "heapless/cas"]
use-crc = ["crc", "paste"]
use-defmt = ["defmt"]
use-std = ["serde/std", "alloc"]
[lib]
name = "postcard"
path = "src/lib.rs"
[package]
authors = ["James Munns <james@onevariable.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["embedded", "no-std"]
description = "A no_std + serde compatible message library for Rust"
documentation = "https://docs.rs/postcard/"
edition = "2018"
keywords = ["serde", "cobs", "framing"]
license = "MIT OR Apache-2.0"
name = "postcard"
readme = "README.md"
repository = "https://github.com/jamesmunns/postcard"
resolver = "2"
version = "1.0.10"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "accumulator"
path = "tests/accumulator.rs"
[[test]]
name = "crc"
path = "tests/crc.rs"
[[test]]
name = "loopback"
path = "tests/loopback.rs"
[[test]]
name = "max_size"
path = "tests/max_size.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"