notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

lib.rs (1108B)


      1 mod client;
      2 mod error;
      3 mod filter;
      4 mod keypair;
      5 pub mod negentropy;
      6 mod note;
      7 pub mod pns;
      8 mod profile;
      9 mod pubkey;
     10 mod relay;
     11 
     12 pub use client::{ClientMessage, EventClientMessage};
     13 pub use error::Error;
     14 pub use ewebsock;
     15 pub use filter::Filter;
     16 pub use keypair::{FilledKeypair, FullKeypair, Keypair, KeypairUnowned, SerializableKeypair};
     17 pub use nostr::SecretKey;
     18 pub use note::{Note, NoteId};
     19 pub use profile::ProfileState;
     20 pub use pubkey::{Pubkey, PubkeyRef};
     21 pub use relay::message::{RelayEvent, RelayMessage};
     22 pub use relay::pool::{PoolEvent, PoolEventBuf, PoolRelay, RelayPool};
     23 pub use relay::subs_debug::{OwnedRelayEvent, RelayLogEvent, SubsDebug, TransferStats};
     24 pub use relay::{
     25     NormRelayUrl, OutboxPool, OutboxSession, OutboxSessionHandler, OutboxSubId,
     26     RelayCoordinatorLimits, RelayId, RelayImplType, RelayLimitations, RelayReqId, RelayReqStatus,
     27     RelayStatus, RelayType, RelayUrlPkgs, SubPass, SubPassGuardian, SubPassRevocation,
     28     WebsocketConn,
     29 };
     30 
     31 pub type Result<T> = std::result::Result<T, error::Error>;
     32 
     33 pub trait Wakeup: Send + Sync + Clone + 'static {
     34     fn wake(&self);
     35 }