lib

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

lib.rs (752B)


      1 #![cfg_attr(not(feature = "std"), no_std)]
      2 #![cfg_attr(coverage_nightly, feature(coverage_attribute))]
      3 #![forbid(unsafe_code)]
      4 #![deny(rustdoc::broken_intra_doc_links)]
      5 #![doc = include_str!("../README.md")]
      6 extern crate alloc;
      7 
      8 #[cfg(test)]
      9 mod test_fixtures;
     10 
     11 #[cfg(feature = "json")]
     12 mod evidence_manifest;
     13 
     14 #[cfg(feature = "json")]
     15 mod evidence_report;
     16 
     17 pub mod evidence;
     18 pub mod model;
     19 pub mod reducer;
     20 #[path = "reducer_impl.rs"]
     21 mod trade_contract_v1;
     22 pub mod validation;
     23 pub mod workflow;
     24 
     25 pub use model::RadrootsTradeProjectionV1 as Projection;
     26 pub use reducer::{
     27     RadrootsTradeReducerIssueV1 as ReducerIssue, RadrootsTradeReductionInputV1 as ReductionInput,
     28 };
     29 pub use validation::ValidationError;
     30 pub use workflow::{Error, WorkflowPlan};