Sergey Konev
a8d83b9bab
Some checks failed
Continuous integration / Tests (push) Blocked by required conditions
Continuous integration / Tests (windows-latest) (push) Waiting to run
Continuous integration / Check clippy, formatting, and documentation (push) Failing after 20s
Continuous integration / Tests (ubuntu-latest) (push) Failing after 22s
Continuous integration / Check fuzzers (push) Failing after 18s
Continuous integration / Check mininum Rust version (push) Failing after 20s
134 lines
2.5 KiB
TOML
134 lines
2.5 KiB
TOML
# 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 = "2018"
|
|
name = "postcard"
|
|
version = "1.0.10"
|
|
authors = ["James Munns <james@onevariable.com>"]
|
|
build = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A no_std + serde compatible message library for Rust"
|
|
documentation = "https://docs.rs/postcard/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"serde",
|
|
"cobs",
|
|
"framing",
|
|
]
|
|
categories = [
|
|
"embedded",
|
|
"no-std",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/jamesmunns/postcard"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[lib]
|
|
name = "postcard"
|
|
path = "src/lib.rs"
|
|
|
|
[[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"
|
|
|
|
[dependencies.cobs]
|
|
version = "0.2.3"
|
|
default-features = false
|
|
|
|
[dependencies.crc]
|
|
version = "3.0.1"
|
|
optional = true
|
|
|
|
[dependencies.defmt]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[dependencies.embedded-io-04]
|
|
version = "0.4"
|
|
optional = true
|
|
package = "embedded-io"
|
|
|
|
[dependencies.embedded-io-06]
|
|
version = "0.6"
|
|
optional = true
|
|
package = "embedded-io"
|
|
|
|
[dependencies.heapless]
|
|
version = "0.7.0"
|
|
features = ["serde"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.paste]
|
|
version = "1.0.12"
|
|
optional = true
|
|
|
|
[dependencies.postcard-derive]
|
|
version = "0.1.2"
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.100"
|
|
features = ["derive"]
|
|
default-features = false
|
|
|
|
[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",
|
|
]
|