lib

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

lib.rs (1623B)


      1 #![forbid(unsafe_code)]
      2 #![cfg_attr(not(feature = "std"), no_std)]
      3 
      4 extern crate alloc;
      5 #[cfg(feature = "std")]
      6 extern crate std;
      7 
      8 pub mod error;
      9 pub mod model;
     10 
     11 pub mod prelude {
     12     pub use crate::error::RadrootsSimplexAppStoreError;
     13     pub use crate::model::{
     14         RadrootsSimplexAppChatDirection, RadrootsSimplexAppChatItem, RadrootsSimplexAppConnection,
     15         RadrootsSimplexAppContact, RadrootsSimplexAppConversation, RadrootsSimplexAppDiagnostics,
     16         RadrootsSimplexAppInboundChildEvent, RadrootsSimplexAppInboundCommit,
     17         RadrootsSimplexAppInboundMessageLogEntry, RadrootsSimplexAppInboundTextRequest,
     18         RadrootsSimplexAppInboundUnsupportedEventRequest, RadrootsSimplexAppOutboundTextDraft,
     19         RadrootsSimplexAppOutboundTextRequest, RadrootsSimplexAppOutboxMessage,
     20         RadrootsSimplexAppProfile, RadrootsSimplexAppQueueEndpoint,
     21         RadrootsSimplexAppUnsupportedProtocolEvent,
     22     };
     23 }
     24 
     25 pub use error::RadrootsSimplexAppStoreError;
     26 pub use model::{
     27     RadrootsSimplexAppChatDirection, RadrootsSimplexAppChatItem, RadrootsSimplexAppConnection,
     28     RadrootsSimplexAppContact, RadrootsSimplexAppConversation, RadrootsSimplexAppDiagnostics,
     29     RadrootsSimplexAppInboundChildEvent, RadrootsSimplexAppInboundCommit,
     30     RadrootsSimplexAppInboundMessageLogEntry, RadrootsSimplexAppInboundTextRequest,
     31     RadrootsSimplexAppInboundUnsupportedEventRequest, RadrootsSimplexAppOutboundTextDraft,
     32     RadrootsSimplexAppOutboundTextRequest, RadrootsSimplexAppOutboxMessage,
     33     RadrootsSimplexAppProfile, RadrootsSimplexAppQueueEndpoint,
     34     RadrootsSimplexAppUnsupportedProtocolEvent,
     35 };