[package]
edition = "2024"
rust-version = "1.85"
name = "rm-frame"
version = "0.1.2"
authors = ["Salfa Chang <me@salfa.cn>"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of DJI RoboMaster Protocol, including frame parsing and link management."
homepage = "https://salfa.cn"
documentation = "https://docs.rs/rm-frame"
readme = "README.md"
keywords = [
"RoboMaster",
"Robot",
"Protocol",
"Frame",
"Parser",
]
categories = [
"no-std",
"encoding",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Salfa-04/rm-proto"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = true
[features]
defmt = ["dep:defmt"]
remote = ["dep:atomic"]
[lib]
name = "rm_frame"
path = "src/lib.rs"
[dependencies.atomic]
version = "1.13"
optional = true
default-features = false
package = "portable-atomic"
[dependencies.defmt]
version = "1.0"
optional = true
default-features = false