grapevine 1.1.0

A modern, asynchronous peer-to-peer gossip protocol library and application
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Network transport implementations.

pub mod tcp;

use serde::{Deserialize, Serialize};
pub use tcp::Tcp;

/// Transport protocol configuration.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum TransportConfig {
    /// TCP transport
    Tcp,
}