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
// Copyright 2025 NXP
//
// SPDX-License-Identifier: BSD-3-Clause
#![allow(
    clippy::wildcard_imports,
    clippy::needless_pass_by_value,
    reason = "Python is a bit less optimized"
)]

use pyo3::prelude::*;

mod mboot;
mod property;

const NOT_OPENED_ERROR: &str = "The device is not opened! Use `open()` method to open it.";

#[pymodule(name = "pymboot")]
fn mcu_boot_mod(m: &Bound<'_, PyModule>) -> PyResult<()> {
    mboot::register(m)?;
    property::register(m)?;
    Ok(())
}