lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

lib.rs (689B)


      1 #![cfg_attr(coverage_nightly, feature(coverage_attribute))]
      2 #![cfg_attr(not(feature = "std"), no_std)]
      3 #![forbid(unsafe_code)]
      4 #![deny(rustdoc::broken_intra_doc_links)]
      5 #![doc = include_str!("../README.md")]
      6 
      7 extern crate alloc;
      8 
      9 #[cfg(all(feature = "browser", target_arch = "wasm32"))]
     10 pub mod browser;
     11 pub mod context;
     12 pub mod envelope;
     13 pub mod error;
     14 #[cfg(feature = "file")]
     15 pub mod file;
     16 pub mod id;
     17 #[cfg(feature = "keyring")]
     18 pub mod keyring;
     19 #[cfg(feature = "memory")]
     20 pub mod memory;
     21 pub mod provider;
     22 pub mod wrapping;
     23 
     24 pub use envelope::EncryptedEnvelope;
     25 pub use error::Error;
     26 pub use id::{SecretId, SecretRef};
     27 pub use provider::SecretProvider;
     28 pub use wrapping::KeyWrapping;