[package]
edition = "2024"
rust-version = "1.95"
name = "mobile-agent-protocol"
version = "0.1.0-alpha.1"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The wire protocol between the mobile-agent daemon and every device agent: the message schema, the framing and the handshake"
readme = "README.md"
license = "MIT"
repository = "https://github.com/gesposito/mobile-agent"
[lib]
name = "protocol"
path = "src/lib.rs"
bench = false
[[test]]
name = "bench_inputs"
path = "tests/bench_inputs.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "framing"
path = "tests/framing.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "handshake"
path = "tests/handshake.rs"
[[test]]
name = "liveness"
path = "tests/liveness.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[bench]]
name = "codec"
path = "benches/codec.rs"
harness = false
[dependencies.minicbor]
version = "2.3.0"
features = [
"std",
"derive",
]
[dev-dependencies.criterion]
version = "0.8.2"
default-features = false
[lints.clippy.all]
level = "warn"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"