[dependencies.bitflags]
version = "2.10"
[dependencies.clap]
optional = true
version = "4.5"
[dependencies.const_env]
version = "0.1"
[dependencies.crc]
version = "3.4"
[dependencies.heapless]
version = "0.9"
[dependencies.log]
version = "0.4"
[dependencies.num-derive]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.serialport]
default-features = false
version = "4.8"
[dependencies.tokio]
default-features = false
features = ["sync", "rt", "rt-multi-thread", "time"]
version = "1.48"
[features]
clap = ["dep:clap"]
[lib]
name = "ashv2"
path = "src/lib.rs"
[lints.clippy]
as_ptr_cast_mut = "warn"
clear_with_drain = "warn"
collection_is_never_read = "warn"
debug_assert_with_mut_call = "warn"
deref_by_slicing = "warn"
empty_enum_variants_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
implicit_clone = "warn"
incompatible_msrv = "warn"
mem_forget = "warn"
needless_collect = "warn"
needless_pass_by_ref_mut = "warn"
nonstandard_macro_braces = "warn"
panic_in_result_fn = "warn"
path_buf_push_overwrite = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
read_zero_byte_vec = "warn"
redundant_clone = "warn"
redundant_type_annotations = "warn"
string_add = "warn"
string_slice = "warn"
trailing_empty_array = "warn"
transmute_undefined_repr = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_self_imports = "warn"
unwrap_in_result = "warn"
useless_let_if_seq = "warn"
verbose_file_reads = "warn"
[lints.clippy.all]
level = "warn"
priority = -98
[lints.clippy.cargo]
level = "warn"
priority = -95
[lints.clippy.complexity]
level = "warn"
priority = -100
[lints.clippy.nursery]
level = "warn"
priority = -95
[lints.clippy.pedantic]
level = "warn"
priority = -90
[lints.clippy.perf]
level = "warn"
priority = -95
[lints.clippy.suspicious]
level = "warn"
priority = -95
[lints.rust]
absolute_paths_not_starting_with_crate = "warn"
elided_lifetimes_in_paths = "warn"
for_loops_over_fallibles = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_docs = "warn"
redundant_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unsafe_code = "warn"
unstable_features = "warn"
unused_crate_dependencies = "warn"
unused_imports = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[lints.rust.keyword_idents]
level = "warn"
priority = -1
[package]
authors = ["Richard Neumann <neumann@paulmann.de>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["hardware-support", "network-programming"]
description = "Implementation of the Asynchronous Serial Host (ASH) protocol."
documentation = "https://docs.rs/ashv2"
edition = "2024"
exclude = [".gitignore", "TODO.md"]
keywords = ["ASH", "async", "serial", "host"]
license = "MIT"
name = "ashv2"
readme = "README.md"
repository = "https://github.com/PaulmannLighting/ashv2"
version = "3.0.0"
[package.metadata.docs.rs]
all-features = true