databoard 0.4.0

Provides a hierarchical key-value-store
Documentation
// Copyright © 2025 Stephan Kunz
#![no_std]
#![doc = include_str!("../README.md")]

#[cfg(doctest)]
doc_comment::doctest!("../README.md");

#[doc(hidden)]
extern crate alloc;

mod databoard;
mod environment;
mod error;
pub mod prelude;
mod remapping_helper;
mod remapping_list;
mod remapping_target;

// re-export Arc, Mutex, RwLock & Guards
#[allow(unused)]
pub use dataport::{Arc, Mutex, RwLock, RwLockReadGuard, RwLockWriteGuard};

/// An immutable thread safe `String` type
/// see: [Logan Smith](https://www.youtube.com/watch?v=A4cKi7PTJSs).
type ConstString = Arc<str>;

// flatten
pub use databoard::Databoard;
pub use error::Error;
pub use remapping_helper::{
	check_board_pointer, check_local_key, check_local_pointer, check_top_level_key, check_top_level_pointer,
	is_board_pointer, is_const_assignment, is_local_pointer, is_top_level_pointer, strip_board_pointer, strip_local_pointer,
	strip_top_level_pointer,
};
pub use remapping_list::RemappingList;
pub use remapping_target::RemappingTarget;