mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-04 03:55:22 -05:00
9 lines
390 B
Markdown
9 lines
390 B
Markdown
## Codecs
|
|
|
|
This crate allows to easily configure different codecs for different purposes (benchmarks, user configuration) with minimal changes. Having them to be configurable through annotations allows us to contain their implementations/leakage to isolated portions of the project.
|
|
|
|
Examples:
|
|
|
|
- [`Header` struct](../../primitives/src/header.rs)
|
|
- [DB usage](../db/src/kv/codecs/scale.rs)
|