Skip to main content

xenith_core/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod conflict;
4pub mod error;
5pub mod signer;
6pub mod store;
7#[cfg(any(test, feature = "testing"))]
8pub mod testing;
9pub mod transport;
10pub mod types;
11pub mod wire;
12
13pub use conflict::{ConflictResolver, LatestVersionResolver};
14pub use error::XenithError;
15pub use signer::{NoopSigner, TransactionSigner};
16pub use store::{InMemoryStore, KeyMetadata, StateStore};
17pub use transport::{MessagingTransport, SendOptions};
18pub use types::*;
19
20/// Convenience alias — all fallible xenith functions return this.
21pub type Result<T> = std::result::Result<T, XenithError>;