35 lines
1.0 KiB
TOML
35 lines
1.0 KiB
TOML
[package]
|
|
name = "kaptan-mavlink"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Common MAVLink telemetry/arm acknowledgement is the default surface.
|
|
default = ["dialect-kaptan", "sensor-telemetry"]
|
|
# Sensor-domain adapters are physical telemetry only.
|
|
sensor-telemetry = ["dep:kaptan-sensor"]
|
|
dialect-kaptan = []
|
|
|
|
[dependencies]
|
|
kaptan-log = { path = "../kaptan-log" }
|
|
kaptan-dma = { path = "../kaptan-dma" }
|
|
kaptan-sensor = { path = "../kaptan-sensor", optional = true }
|
|
kaptan-tx = { path = "../kaptan-tx" }
|
|
mavlink = { version = "0.18", default-features = false, features = ["embedded", "dialect-common"] }
|
|
mavlink-core = { version = "0.18", default-features = false, features = ["embedded"] }
|
|
bitflags = "2"
|
|
num-derive = "0.4"
|
|
num-traits = { version = "0.2", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
kaptan-time = { path = "../kaptan-time" }
|
|
|
|
[build-dependencies]
|
|
mavlink-bindgen = "0.18"
|