Registry / utility / vsprintf

vsprintf

JSON →
library2.0.0rscratesunverified

Rust bindings to the libc vsprintf function for formatted string output.

# Cargo.toml [dependencies] vsprintf = "2.0.0"
INSTALL
IMPORT
SIG · VSPRINTF
V
vsprintf
utilityrustv2.0.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.

vsprintf
use vsprintf::vsprintf;

Formats a string using vsprintf-like syntax.

use vsprintf::vsprintf; fn main() { let result = vsprintf!("Hello %s", "world"); println!("{}", result); }
Debug
Known issues
gotchaUnsafe FFI: vsprintf is inherently unsafe and can cause buffer overflows if format string and arguments mismatch.
fix
Ensure format string matches arguments exactly; prefer safe Rust formatting macros when possible.
affects: >=2.0.0
Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
vsprintf — cargo add vsprintf · libregistry