coe 0.2.2

coe is a full implementation of the CoEv2 protocol by Technische Alternative
Documentation
[package]
name = "coe"
version = "0.2.2"
edition = "2021"
license = "MIT-0"
description = "coe is a full implementation of the CoEv2 protocol by Technische Alternative"
repository = "https://github.com/curatorsigma/coe-rs"
keywords = ["coe"]
categories = ["network-programming", "no-std", "no-std::no-alloc"]
authors = ["Jonathan Schleucher"]
readme = "README.md"

[lints.rust]
unsafe_code = "forbid"

[features]
default = ["std"]

# Implement std::error::Error for all Error types.
std = ["alloc"]

# Use Vec instead of statically sized buffer in Packet.
# Also adds the packets_from_payloads function
alloc = ["serde?/alloc"]

# Enable SerDe for all public types.
serde = ["dep:serde"]

[dependencies]
serde = { version = "1.0.210", optional = true, default-features = false, features = ["derive"] }

[dev-dependencies]
tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "net", "time"] }

[[example]]
name = "01_start_here"
required-features = ["alloc"]

[[example]]
name = "02_send_date"
required-features = ["alloc"]