Docs.rs
commonware-formatting-2026.9.0
commonware-formatting 2026.9.0
Docs.rs crate page
MIT
OR
Apache-2.0
03 September 2026
Links
Homepage
Repository
crates.io
Source
Owners
patrick-ogrady
Dependencies
commonware-macros ^2026.9.0
normal
const-hex ^1.19.1
normal
criterion ^0.8.2
dev
rand ^0.10.2
dev
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate commonware_formatting
commonware_
formatting
2026.9.0
All Items
Crate Items
Macros
Structs
Functions
Crate
commonware_
formatting
Copy item path
Source
Expand description
Format and parse encoded data.
Macros
§
hex
Converts string literals containing hexadecimal data into a byte array.
Structs
§
Hex
Display/Debug wrapper that renders bytes as lowercase hex without allocating an intermediate
String
.
Functions
§
from_
hex
Converts a hexadecimal string to bytes, stripping ASCII whitespace and an optional
0x
/
0X
prefix.
hex
Converts bytes to a lowercase hexadecimal
String
.