Registry / utility / fomat-macros

fomat-macros

JSON →
library0.3.2rscratesunverified

Alternative syntax for print/write/format-like macros with a small templating language.

# Cargo.toml [dependencies] fomat-macros = "0.3.2"
INSTALL
IMPORT
SIG · FOMAT-MACROS
F
fomat-macros
utilityrustv0.3.2
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.

fomat
use fomat_macros::fomat;

Uses the fomat! macro for string formatting.

use fomat_macros::fomat; fn main() { let name = "world"; println!("{}", fomat!("Hello, " (name) "!")); }
Debug
Known issues
gotchaMacro syntax differs significantly from standard format!; may confuse new users.
fix
Refer to the crate documentation for the templating syntax.
affects: >=0.3.0
Upgrade
Version history
0.3.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fomat-macros — cargo add fomat-macros · libregistry