lib

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

lib.rs (1331B)


      1 #![cfg_attr(not(feature = "std"), no_std)]
      2 #![cfg_attr(coverage_nightly, feature(coverage_attribute))]
      3 #![forbid(unsafe_code)]
      4 #![doc = include_str!("../README.md")]
      5 #[cfg(not(feature = "std"))]
      6 extern crate alloc;
      7 
      8 pub mod authoring;
      9 pub mod canonical;
     10 mod codec;
     11 pub mod decode;
     12 pub mod encode;
     13 mod field_helpers;
     14 #[cfg(feature = "manifests")]
     15 pub mod manifest;
     16 mod social_helpers;
     17 pub mod verify;
     18 
     19 mod app_data;
     20 mod article;
     21 mod calendar;
     22 mod comment;
     23 mod coop;
     24 mod d_tag;
     25 mod deletion;
     26 mod document;
     27 mod error;
     28 mod event_ref;
     29 mod farm;
     30 mod farm_crdt;
     31 mod farm_file;
     32 mod farm_workspace;
     33 mod file_metadata;
     34 mod follow;
     35 mod food_availability;
     36 mod geochat;
     37 mod gift_wrap;
     38 mod group;
     39 mod http_auth;
     40 mod job;
     41 #[cfg(feature = "knowledge")]
     42 mod knowledge;
     43 mod list;
     44 mod list_set;
     45 mod message;
     46 mod message_file;
     47 mod operational_listing;
     48 mod order;
     49 mod parsed;
     50 mod plot;
     51 mod post;
     52 mod profile;
     53 mod reaction;
     54 mod relay_auth;
     55 mod reply;
     56 mod report;
     57 mod repost;
     58 mod resource_area;
     59 mod resource_cap;
     60 #[cfg(feature = "json")]
     61 mod rhi;
     62 mod seal;
     63 mod tag_builders;
     64 mod trade;
     65 mod verification;
     66 mod wire;
     67 
     68 pub use codec::Codec;
     69 pub use decode::DecodeError;
     70 pub use encode::EncodeError;
     71 pub use verify::VerificationError;
     72 
     73 #[cfg(feature = "json")]
     74 pub mod admission;
     75 
     76 #[cfg(test)]
     77 mod test_fixtures;
     78 
     79 #[cfg(feature = "json")]
     80 mod relay_document;