lib

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

lib.rs (1011B)


      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 = "private_ingress")]
     42 pub mod private_ingress;
     43 
     44 #[cfg(feature = "commerce")]
     45 pub mod commerce;
     46 
     47 /// Original authenticated public heads, distinct from action readiness.
     48 #[cfg(feature = "public_ingress")]
     49 pub mod public_ingress;
     50 
     51 #[cfg(feature = "events")]
     52 mod event_convert;
     53 #[cfg(feature = "events")]
     54 mod event_verify;
     55 #[cfg(feature = "events")]
     56 mod plan_signing;