Crate embedded_utils

Source
Expand description

§embedded-utils

embedded-utils provides some features in Rust(no_std) embedded systems.

§Crate Feature Flags

The following crate feature flags are available:

  • time: enable processing time.

§Usage

  1. Add the following line to your Cargo.toml:
embedded-utils = { version = "0.1.0" }
  1. Use time for processing time.:
use embedded_utils::time::{DateTime, TimeZone};

let datetime = DateTime::from_unix_millis(1704067199998, TimeZone::AsiaShanghai);
println!("datetime year is {}", datetime.year);

§License

Licensed under either of

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

time
The time library provides the function of processing time.