Registry / utility / scan-fmt

scan-fmt

JSON →
library0.2.6rscratesunverified

A simple scanf()-like input for Rust.

# Cargo.toml [dependencies] scan_fmt = "0.2.6"
INSTALL
IMPORT
SIG · SCAN-FMT
S
scan-fmt
utilityrustv0.2.6
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.

scan_fmt
use scan_fmt::scan_fmt;

Parses formatted input using scanf-like syntax.

use scan_fmt::scan_fmt; fn main() { let input = "42 3.14"; let (a, b) = scan_fmt!(input, "{} {}", i32, f64).unwrap(); println!("Parsed: {} {}", a, b); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
scan-fmt — cargo add scan-fmt · libregistry