| Crates.io | stratum-core |
| lib.rs | stratum-core |
| version | 0.2.0 |
| created_at | 2024-06-14 15:49:27.626184+00 |
| updated_at | 2026-01-22 14:28:45.382632+00 |
| description | Central hub for the Stratum V2 ecosystem, consolidating all low-level protocol crates into a single, cohesive API |
| homepage | https://stratumprotocol.org |
| repository | https://github.com/stratum-mining/stratum |
| max_upload_size | |
| id | 1272142 |
| size | 5,696 |
Central hub for the Stratum V2 ecosystem, providing a cohesive API for all low-level protocol functionality.
stratum-core re-exports all the foundational Stratum protocol crates through a single entry point. This includes binary serialization, framing, message handling, cryptographic operations, and all Stratum V2 subprotocols.
Add to your Cargo.toml:
[dependencies]
stratum-core = "0.1.0"
Basic usage:
use stratum_core::{
binary_sv2,
codec_sv2,
framing_sv2,
noise_sv2,
mining_sv2,
// ... all protocol crates available
};
with_buffer_pool - Enable buffer pooling for improved memory management and performancesv1 - Include Stratum V1 protocol supporttranslation - Enable translation utilities between SV1 and SV2 (includes sv1)