[package]
edition = "2024"
rust-version = "1.85"
name = "devicerail-protocol"
version = "0.3.7"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical wire protocol DTOs for DeviceRail"
homepage = "https://github.com/wangweiwei/device-rail"
documentation = "https://docs.rs/devicerail-protocol"
readme = "README.md"
keywords = [
"device-automation",
"json-rpc",
"testing",
"protocol",
]
categories = [
"api-bindings",
"development-tools::testing",
]
license = "Apache-2.0"
repository = "https://github.com/wangweiwei/device-rail"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
fixtures = []
schema = ["dep:schemars"]
[lib]
name = "devicerail_protocol"
path = "src/lib.rs"
[[test]]
name = "golden_fixtures"
path = "tests/golden_fixtures.rs"
[dependencies.schemars]
version = "=1.2.2"
features = [
"derive",
"std",
"uuid1",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]