Registry / utility / ufmt-write

ufmt-write

JSON →
library0.1.0rscratesunverified

The `uWrite` trait from the `ufmt` crate, for no_std formatting.

# Cargo.toml [dependencies] ufmt-write = "0.1.0"
INSTALL
IMPORT
SIG · UFMT-WRITE
U
ufmt-write
utilityrustv0.1.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.

uWrite
use ufmt_write::uWrite;

Implements the uWrite trait for a custom writer.

use ufmt_write::uWrite; struct MyWriter; impl uWrite for MyWriter { type Error = (); fn write_str(&mut self, s: &str) -> Result<(), Self::Error> { print!("{}", s); Ok(()) } } fn main() { let mut writer = MyWriter; let _ = writer.write_str("Hello, world!"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ufmt-write — cargo add ufmt-write · libregistry