rutcpduplex 0.1.0

Native Rust port of tcpduplex: encrypted full-duplex messaging over TCP (X25519 ECDH, AES-256-GCM)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Encrypted resumable file transfer over a tcpduplex session.
//!
//! Wire-compatible with Go package `github.com/hdmain/tcpduplex/transfer`.

mod errors;
mod frame;
mod id;
mod options;
mod transfer_impl;

pub use errors::TransferError;
pub use frame::Meta;
pub use id::{parse_id, TransferId};
pub use options::{DefaultOptions, Options};
pub use transfer_impl::{
    receive, receive_file, receive_mem, receive_with_reader, send, send_bytes, send_file, MemFile,
    ReaderAt, WriterAt,
};