rblhost 0.2.0

The rblhost application is a fast command-line utility providing McuBoot library used on the host computer to initiate communication and issue commands to the MCU bootloader.
Documentation
[[bin]]
name = "rblhost"
path = "src/main.rs"

[[bin]]
name = "stub_gen"
path = "src/bin/stub_gen.rs"

[build-dependencies.cbindgen]
optional = true
version = "0.29.0"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.cbindgen]
optional = true
version = "0.29.0"

[dependencies.clap]
features = ["derive"]
version = "4.5.42"

[dependencies.color-print]
version = "0.3.7"

[dependencies.crc]
version = "3.3.0"

[dependencies.derive_more]
features = ["debug", "display", "try_from"]
version = "2.0.1"

[dependencies.enum_dispatch]
optional = true
version = "0.3.13"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.hidapi]
version = "2.6.3"

[dependencies.indicatif]
version = "0.18.0"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4.27"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.number_prefix]
version = "0.4.0"

[dependencies.pretty-hex]
version = "0.4.1"

[dependencies.pyo3]
features = ["extension-module"]
optional = true
version = "0.25.1"

[dependencies.pyo3-stub-gen]
optional = true
version = "0.12.1"

[dependencies.pyo3-stub-gen-derive]
optional = true
version = "0.12.1"

[dependencies.serialport]
version = "4.7.2"

[dependencies.srec-rs]
version = "0.1.4"

[dependencies.strum]
features = ["derive"]
version = "0.27.2"

[dependencies.thiserror]
version = "2.0.12"

[dev-dependencies.tempfile]
version = "3.22.0"

[[example]]
name = "get_property"
path = "examples/get_property.rs"

[[example]]
name = "write_read_memory"
path = "examples/write_read_memory.rs"

[features]
c_api = ["cbindgen", "enum_dispatch"]
default = []
python = ["pyo3", "pyo3/extension-module", "pyo3-stub-gen", "pyo3-stub-gen-derive", "enum_dispatch"]

[lib]
crate-type = ["cdylib", "rlib"]
name = "mboot"
path = "src/lib.rs"

[lints.clippy]
allow_attributes_without_reason = "warn"
branches_sharing_code = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "allow"
cast_sign_loss = "warn"
cfg_not_test = "warn"
decimal_literal_representation = "warn"
default_union_representation = "warn"
derive_partial_eq_without_eq = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
equatable_if_let = "warn"
error_impl_error = "warn"
fallible_impl_from = "warn"
imprecise_flops = "warn"
items_after_statements = "allow"
large_stack_frames = "warn"
map_with_unused_argument_over_ranges = "warn"
mem_forget = "warn"
needless_collect = "warn"
read_zero_byte_vec = "warn"
redundant_clone = "warn"
redundant_pub_crate = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
semicolon_outside_block = "warn"
separated_literal_suffix = "warn"
single_match = "allow"
unnecessary_struct_initialization = "warn"
unneeded_field_pattern = "warn"
unreadable_literal = "allow"
unused_peekable = "warn"
useless_let_if_seq = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
ambiguous_negative_literals = "warn"
trivial_numeric_casts = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["command-line-utilities"]
default-run = "rblhost"
description = "The rblhost application is a fast command-line utility providing McuBoot library used on the host computer to initiate communication and issue commands to the MCU bootloader."
documentation = "https://github.com/nxp-mcuxpresso/rblhost#readme"
edition = "2024"
homepage = "https://github.com/nxp-mcuxpresso/rblhost"
keywords = ["nxp", "microcontroller", "embedded", "bootloader"]
license = "BSD-3-Clause"
name = "rblhost"
readme = "README.md"
repository = "https://github.com/nxp-mcuxpresso/rblhost"
rust-version = "1.88"
version = "0.2.0"

[[test]]
name = "visibility_test"
path = "tests/visibility_test.rs"