nostrdb-rs

nostrdb in rust!
git clone git://jb55.com/nostrdb-rs
Log | Files | Refs | Submodules | README | LICENSE

lib.rs (1321B)


      1 #[allow(non_upper_case_globals)]
      2 #[allow(non_camel_case_types)]
      3 #[allow(non_snake_case)]
      4 #[allow(unused)]
      5 #[allow(clippy::upper_case_acronyms)]
      6 mod bindings;
      7 
      8 #[allow(unused)]
      9 #[allow(non_snake_case)]
     10 #[allow(clippy::needless_lifetimes)]
     11 #[allow(clippy::missing_safety_doc)]
     12 mod ndb_profile;
     13 
     14 mod block;
     15 
     16 mod future;
     17 
     18 mod config;
     19 mod error;
     20 mod filter;
     21 mod ingest;
     22 mod ndb;
     23 mod ndb_str;
     24 mod note;
     25 mod profile;
     26 mod query;
     27 mod relay;
     28 mod result;
     29 mod subscription;
     30 mod tags;
     31 mod transaction;
     32 mod util;
     33 
     34 pub use block::{Block, BlockType, Blocks, Mention};
     35 pub use config::Config;
     36 pub use error::{Error, FilterError};
     37 pub use filter::{Filter, FilterBuilder, FilterElement, FilterField, MutFilterField};
     38 pub(crate) use future::SubscriptionState;
     39 pub use future::SubscriptionStream;
     40 pub use ingest::IngestMetadata;
     41 pub use ndb::Ndb;
     42 pub use ndb_profile::{NdbProfile, NdbProfileRecord};
     43 pub use ndb_str::{NdbStr, NdbStrVariant};
     44 pub use note::{Note, NoteBuildOptions, NoteBuilder, NoteKey};
     45 pub use profile::{ProfileKey, ProfileRecord};
     46 pub use query::QueryResult;
     47 pub use relay::NoteRelays;
     48 pub use result::Result;
     49 pub use subscription::Subscription;
     50 pub use tags::{Tag, TagIter, Tags, TagsIter};
     51 pub use transaction::Transaction;
     52 pub use util::nip10::{Marker, NoteIdRef, NoteIdRefBuf, NoteReply, NoteReplyBuf};
     53 
     54 mod test_util;