#va-arg #api-bindings #printf #stdarg

sys printf

A library to convert a fmt string and va_list into rust String

1 unstable release

Uses old Rust 2015

0.1.0 Mar 3, 2017

#4328 in #api-bindings

Download history 2/week @ 2024-11-13 11/week @ 2024-11-20 19/week @ 2024-11-27 23/week @ 2024-12-04 38/week @ 2024-12-11 6/week @ 2024-12-18 2/week @ 2025-01-08 16/week @ 2025-01-15 2/week @ 2025-01-22 11/week @ 2025-01-29 20/week @ 2025-02-05 9/week @ 2025-02-12 8/week @ 2025-02-19 21/week @ 2025-02-26

60 downloads per month
Used in 3 crates

MIT/Apache

3KB

printf

This library provides a single method that takes a format string and arg list that would be used in functions like printf and returns a formatted string. It is expected that the arg list be created in C code using va_start.

I created this lib specifically to help in wrapping c libraries that expect printf-style function callbacks.


lib.rs:

This crate provides a method to convert printf-style calls to a rust formatter

Dependencies

~54KB