[package]
edition = "2021"
rust-version = "1.81.0"
name = "smartaudio"
version = "0.4.0"
authors = ["Nickolai Novik <nickolainovik@gmail.com>"]
build = false
include = [
"src/**",
"examples/**",
"README.md",
"LICENSE",
"CHANGELOG.md",
"Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A `no_std` Rust library for parsing the TBS smartaudio protocol"
homepage = "https://github.com/jettify/smartaudio"
documentation = "https://docs.rs/smartaudio"
readme = "README.md"
keywords = [
"smartaudio",
"vtx",
"embedded",
"no-std",
"parser",
]
categories = [
"embedded",
"no-std",
"aerospace::drones",
"aerospace::unmanned-aerial-vehicles",
]
license = "Apache-2.0"
repository = "https://github.com/jettify/smartaudio"
[features]
defmt = ["dep:defmt"]
[lib]
name = "smartaudio"
path = "src/lib.rs"
[[example]]
name = "simple_frame"
path = "examples/simple_frame.rs"
[[example]]
name = "simple_iter"
path = "examples/simple_iter.rs"
[[example]]
name = "simple_raw_frame"
path = "examples/simple_raw_frame.rs"
[dependencies.defmt]
version = "1.0.1"
optional = true
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
dbg_macro = "warn"
exit = "deny"
expect_used = "forbid"
indexing_slicing = "deny"
infinite_loop = "warn"
let_underscore_must_use = "deny"
map_err_ignore = "deny"
missing_assert_message = "warn"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
string_slice = "warn"
todo = "warn"
try_err = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unneeded_field_pattern = "warn"
unwrap_used = "forbid"