| Crates.io | bip324 |
| lib.rs | bip324 |
| version | 0.10.0 |
| created_at | 2024-02-28 22:49:09.20084+00 |
| updated_at | 2025-07-23 15:49:31.980241+00 |
| description | Encrypted transport for the bitcoin P2P protocol as specified by BIP 324 |
| homepage | |
| repository | https://github.com/rust-bitcoin/bip324 |
| max_upload_size | |
| id | 1157045 |
| size | 234,320 |
A BIP-324 library to establish and communicate over an encrypted channel.
The library is designed with a bare no_std and Sans I/O interface to keep it as agnostic as possible to application runtimes, but higher level interfaces are exposed for ease of use.
io::Protocol (sync) and futures::Protocol (async) handle the complete encrypted connection lifecycle including handshake, writes, and reads.Handshake is a type-safe state machine for the handshake protocol and CipherSession manages encryption/decryption after the handshake.std - Standard library dependencies for I/O, memory allocation, and random number generators.tokio - High level I/O wrappers for the asynchronous tokio runtime.This crate has a baseline MSRV of 1.63.0.
However, the effective MSRV may be higher depending on the specific versions of dependencies selected by the caller. Currently, tokio is known to affect MSRV when using newer versions with the tokio feature flag, but other dependencies may also impact the effective MSRV in the future.