safe_format
safe_format is a procedural macro for Rust that allows you to safely format strings with named parameters. It works similarly to the built-in format! macro but allows for named parameters, and it safely ignores any extra parameters that are not used in the format string.
Features
- Named parameters for string formatting.
- Ignores extra parameters that are not used in the format string.
- Simple and intuitive API.
Usage
use safe_format;
Add Dependency
First, add the safe_format_macro crate as a dependency in your Cargo.toml:
[]
= 0.1