distant-net 0.20.0

Network library for distant, providing implementations to support client/server architecture
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod client;
mod data;
mod server;

pub use client::*;
pub use data::*;
pub use server::*;

use crate::common::Version;

/// Represents the version associated with the manager's protocol.
pub const PROTOCOL_VERSION: Version = Version::new(
    const_str::parse!(env!("CARGO_PKG_VERSION_MAJOR"), u64),
    const_str::parse!(env!("CARGO_PKG_VERSION_MINOR"), u64),
    const_str::parse!(env!("CARGO_PKG_VERSION_PATCH"), u64),
);