contained_core/
lib.rs

1/*
2    Appellation: core <library>
3    Contrib: FL03 <jo3mccain@icloud.com>
4*/
5//! this core components of the contained crate
6#![allow(
7    clippy::missing_safety_doc,
8    clippy::module_inception,
9    clippy::needless_doctest_main,
10    clippy::upper_case_acronyms
11)]
12#![cfg_attr(not(feature = "std"), no_std)]
13
14#[cfg(not(any(feature = "std", feature = "alloc")))]
15compile_error! {
16    "Either the 'std' or 'alloc' feature must be enabled."
17}
18
19#[cfg(feature = "alloc")]
20extern crate alloc;
21
22#[doc(inline)]
23pub use self::error::{Error, Result};
24
25#[macro_use]
26pub(crate) mod macros {
27    #[macro_use]
28    pub mod seal;
29    #[macro_use]
30    pub mod wrapper;
31}
32
33pub mod error;
34
35pub mod prelude {}