lib

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

lib.rs (768B)


      1 #![doc = include_str!("../README.md")]
      2 #![cfg_attr(not(feature = "std"), no_std)]
      3 #![forbid(unsafe_code)]
      4 
      5 extern crate alloc;
      6 #[cfg(not(feature = "std"))]
      7 extern crate core as std;
      8 
      9 #[cfg(feature = "blossom")]
     10 pub mod blossom;
     11 
     12 mod error;
     13 pub mod event;
     14 #[cfg(feature = "events")]
     15 mod events;
     16 pub mod filter;
     17 pub mod key;
     18 pub mod tag;
     19 mod tags;
     20 mod types;
     21 #[cfg(feature = "events")]
     22 mod util;
     23 
     24 pub use error::Error;
     25 
     26 #[cfg(test)]
     27 mod test_fixtures;
     28 
     29 #[cfg(feature = "events")]
     30 mod codec_adapters;
     31 
     32 #[cfg(feature = "events")]
     33 mod job_adapter;
     34 
     35 #[cfg(feature = "nip17")]
     36 pub mod nip17;
     37 
     38 #[cfg(feature = "signing")]
     39 pub mod signing;
     40 
     41 #[cfg(feature = "events")]
     42 mod event_convert;
     43 #[cfg(feature = "events")]
     44 mod event_verify;
     45 #[cfg(feature = "events")]
     46 mod plan_signing;