[package]
edition = "2021"
rust-version = "1.85"
name = "clonic"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire protocol types and codec for the Zone Coordination Protocol (ZCP)"
documentation = "https://docs.rs/clonic"
readme = "README.md"
keywords = [
"iot",
"wire-protocol",
"embedded",
"no_std",
"zcp",
]
categories = [
"embedded",
"encoding",
"network-programming",
"no-std",
]
license = "MIT"
repository = "https://github.com/Teknorakit/clonic"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]
[features]
alloc = []
default = []
serde = [
"dep:serde",
"alloc",
]
std = ["alloc"]
[lib]
name = "clonic"
path = "src/lib.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
optional = true
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"