From 6158ae31d2f5ce187eb1485ea9279f9e47ad2eb1 Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Wed, 5 Nov 2025 21:00:11 +1100 Subject: [PATCH] Update README.md --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83bcefe..8137901 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # jaarg argument parser library # -nostd & (mostly) const, some say it can parse your arguments. + +Dependency-free, const (mostly), no magic macros, `no_std` & no alloc (though nicer with those). +Some say it can parse your arguments. ### Obligatory fancy banners ###
@@ -55,7 +57,12 @@ println!("{file:?} -> {out:?} (number: {number:?})", ### Changelog ### - +main: + * Moved `Opts::parse_map` into newly introduced `alloc` crate, making it accessible for `no_std` users. + * API updates, enough public constructs to roll a custom help writer. + * Generalised internal error & usage into `StandardErrorUsageWriter` for reuse outside the easy API & in `no_std`. + * Fixed uncontrollable newlines in user display in easy API. + * More tests for validating internal behaviour. v0.1.1: * Fixed incorrect error message format for coerced parsing errors. @@ -65,6 +72,18 @@ v0.1.1: v0.1.0: * Initial release. +### Roadmap ### + +Near future: + * Actual `no_std` tests & examples. + * More control over parsing behaviour (getopt style, no special casing shorts for Windows style flags, etc.) + * More practical examples. + * CI on main GitHub. + +Long term: + * Strategy for handling exclusive argument groups. + * Make use of const traits when they land to improve table setup. + ### Projects using jaarg (very cool) ### * [lbminfo](https://github.com/ScrelliCopter/colourcyclinginthehousetonight/tree/main/lbminfo)