Registry / utility / format-bytes

format-bytes

JSON →
library0.3.0rscratesunverified

A macro to format bytestrings.

# Cargo.toml [dependencies] format-bytes = "0.3.0"
INSTALL
IMPORT
SIG · FORMAT-BYTES
F
format-bytes
utilityrustv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

format_bytes
use format_bytes::format_bytes;

Formats a bytestring with interpolation.

use format_bytes::format_bytes; fn main() { let s = format_bytes!(b"hello {}", b"world"); println!("{:?}", s); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
format-bytes — cargo add format-bytes · libregistry