Crate grounded

source ·
Expand description

Grounded

Building blocks for handling potentially unsafe statics.

This crate aims to provide useful and sound components that serve as building blocks for static datatypes that are common, and often necessary, in embedded systems.

In some cases, fully safe methods and types will be provided. In other cases, “harm reduction” tools will be provided to make it easier to build sound abstractions and avoid undefined behavior.

License

Licensed under either of

at your option.

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

  • Utilities for allocating a single item, using a box-like smart pointer
  • Const Init
  • Helpers for dealing with statics that are (potentially) uninitialized at the start of a program.