[build-dependencies.mavlink-bindgen]
default-features = false
version = "=0.16.0"
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.4"
[dependencies.bitflags]
default-features = false
version = "2.9.1"
[dependencies.mavlink-core]
default-features = false
version = "=0.16.0"
[dependencies.num-derive]
version = "0.4"
[dependencies.num-traits]
default-features = false
version = "0.2"
[dependencies.rand]
default-features = false
features = ["std", "std_rng"]
optional = true
version = "0.9"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.115"
[dependencies.serde_arrays]
optional = true
version = "0.2.0"
[dependencies.ts-rs]
optional = true
version = "11.0.1"
[dev-dependencies.serde_json]
features = ["preserve_order"]
version = "1.0"
[dev-dependencies.serde_test]
version = "1.0"
[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt", "time"]
version = "1.0"
[features]
all = []
all-dialects = ["ardupilotmega", "asluav", "avssuas", "development", "matrixpilot", "minimal", "paparazzi", "python_array_test", "standard", "test", "ualberta", "uavionix", "icarous", "common", "cubepilot", "storm32", "csairlink", "loweheiser"]
arbitrary = ["dep:arbitrary", "dep:rand", "mavlink-bindgen/arbitrary", "mavlink-core/arbitrary", "bitflags/arbitrary"]
ardupilotmega = []
asluav = []
avssuas = []
common = []
csairlink = []
cubepilot = []
default = ["std", "tcp", "udp", "direct-serial", "serde", "ardupilotmega", "common", "format-generated-code"]
development = []
direct-serial = ["mavlink-core/direct-serial"]
embedded = ["mavlink-core/embedded"]
embedded-hal-02 = ["mavlink-core/embedded-hal-02"]
emit-extensions = ["mavlink-bindgen/emit-extensions"]
format-generated-code = []
icarous = []
loweheiser = []
matrixpilot = []
minimal = []
paparazzi = []
python_array_test = []
serde = ["bitflags/serde", "dep:serde", "dep:serde_arrays", "mavlink-core/serde"]
signing = ["mavlink-core/signing"]
standard = []
std = ["mavlink-core/std"]
storm32 = []
tcp = ["mavlink-core/tcp"]
test = []
tokio-1 = ["mavlink-core/tokio-1"]
ts = ["dep:ts-rs"]
ualberta = []
uavionix = []
udp = ["mavlink-core/udp"]
[lib]
name = "mavlink"
path = "src/lib.rs"
[lints.clippy]
multiple_crate_versions = "allow"
semicolon_if_nothing_returned = "warn"
unnecessary_semicolon = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[package]
authors = ["Todd Stellanova", "Michal Podhradsky", "Kevin Mehall", "Tim Ryan", "Patrick José Pereira", "Ibiyemi Abiodun"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build/main.rs"
categories = ["aerospace", "aerospace::protocols", "parsing", "embedded"]
description = "Implements the MAVLink data interchange format for UAVs."
edition = "2021"
keywords = ["mavlink", "parser", "protocol", "embedded"]
license = "MIT/Apache-2.0"
name = "mavlink"
readme = "README.md"
repository = "https://github.com/mavlink/rust-mavlink"
resolver = "1"
rust-version = "1.78.0"
version = "0.16.0"
[package.metadata.docs.rs]
features = ["default", "arbitrary", "all-dialects", "emit-extensions", "format-generated-code", "tokio-1", "signing"]
[[test]]
name = "agnostic_decode_test"
path = "tests/agnostic_decode_test.rs"
[[test]]
name = "direct_serial_tests"
path = "tests/direct_serial_tests.rs"
[[test]]
name = "encode_decode_tests"
path = "tests/encode_decode_tests.rs"
[[test]]
name = "file_connection_tests"
path = "tests/file_connection_tests.rs"
[[test]]
name = "helper_tests"
path = "tests/helper_tests.rs"
[[test]]
name = "mav_frame_tests"
path = "tests/mav_frame_tests.rs"
[[test]]
name = "parse_test"
path = "tests/parse_test.rs"
[[test]]
name = "process_log_files"
path = "tests/process_log_files.rs"
[[test]]
name = "random_test"
path = "tests/random_test.rs"
[[test]]
name = "serde_test"
path = "tests/serde_test.rs"
[[test]]
name = "signing"
path = "tests/signing.rs"
[[test]]
name = "target_fields_tests"
path = "tests/target_fields_tests.rs"
[[test]]
name = "tcp_loopback_async_tests"
path = "tests/tcp_loopback_async_tests.rs"
[[test]]
name = "tcp_loopback_tests"
path = "tests/tcp_loopback_tests.rs"
[[test]]
name = "udp_loopback_async_tests"
path = "tests/udp_loopback_async_tests.rs"
[[test]]
name = "udp_loopback_tests"
path = "tests/udp_loopback_tests.rs"
[[test]]
name = "v1_encode_decode_tests"
path = "tests/v1_encode_decode_tests.rs"
[[test]]
name = "v2_encode_decode_tests"
path = "tests/v2_encode_decode_tests.rs"