3 releases (breaking)
| 0.2.0 | Jan 22, 2026 |
|---|---|
| 0.1.0 | Nov 25, 2025 |
| 0.0.0 | Jun 14, 2024 |
#44 in #mining
219 downloads per month
Used in stratum-apps
6.5MB
21K
SLoC
Stratum Common Crate
stratum_core is the central hub for all Stratum protocol crates.
It re-exports all the low-level v1 and v2 crates to provide a single entry point
for accessing the Stratum protocol implementations.
Features
with_buffer_pool: Enables buffer pooling for improved memory management and performance in the binary serialization, framing, and codec layers.
Stratum Core
Central hub for the Stratum V2 ecosystem, providing a cohesive API for all low-level protocol functionality.
Overview
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.
Usage
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
};
Features
with_buffer_pool- Enable buffer pooling for improved memory management and performancesv1- Include Stratum V1 protocol supporttranslation- Enable translation utilities between SV1 and SV2 (includessv1)
Dependencies
~17MB
~201K SLoC