relay-core 0.1.1-alpha.1

The core components of the Relay Protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod meta;
mod private;
mod public;

pub use meta::MetaEnvelope;
pub use private::PrivateEnvelope;
pub use public::PublicEnvelope;

#[derive(Debug, PartialEq, Eq, thiserror::Error)]
pub enum EnvelopeError {
    #[error("Encoding error: {0}")]
    EncodingError(String),
    #[error("Decoding error: {0}")]
    DecodingError(String),
}