relay-core 0.2.0-beta.3

The core components of the Relay Protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use semver::Version;
use serde::{Deserialize, Serialize};

use crate::{
    prelude::{AgentId, CryptoInfo},
    signed::Signed,
};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RoutingEnvelope {
    pub recipient: AgentId,
    pub version: Version,
    pub crypto: CryptoInfo,
    pub meta: Signed, // DeliveryEnvelope
}