VaList::arg() appears to be renamed to VaList::next_arg() in the current nightly which is 1.98.0-nightly (f28ac764c 2026-06-23) as of time of checking. Adding support for the latter would enable projects requiring such recent nightly versions to compile printf-compat with no issues.
I haven't done much research to see how we can determine the availability of methods at compile-time and/or perhaps merely introduce a feature flag to opt-in into the future next_arg API instead but any approach would be fine by me!
Again, thanks for the crate!
VaList::arg()appears to be renamed toVaList::next_arg()in the current nightly which is 1.98.0-nightly (f28ac764c 2026-06-23) as of time of checking. Adding support for the latter would enable projects requiring such recent nightly versions to compile printf-compat with no issues.I haven't done much research to see how we can determine the availability of methods at compile-time and/or perhaps merely introduce a feature flag to opt-in into the future
next_argAPI instead but any approach would be fine by me!Again, thanks for the crate!