Commit Graph

42 Commits

Author SHA1 Message Date
03e1953aae swap include to using mod with pub use 2025-11-15 17:51:23 -08:00
148a649273 Remove python section from editorconfig 2025-11-15 20:30:14 +11:00
b1a464c79c Fix licence field in Cargo.toml v0.2.1 2025-11-15 19:46:39 +11:00
967422b727 Release 0.2.0 v0.2.0 2025-11-15 19:27:26 +11:00
fb3625c0b8 Dual licence under MIT and (more accurately or) Apache 2.0
totally not just cus it's easier for sprout
2025-11-15 19:12:17 +11:00
46c060f0a7 Partially use standard formatter alignment for aligning option help text 2025-11-15 18:52:10 +11:00
cc4b2f28b5 Docs gen doesn't like referencing certain parts of std so just provide more generic examples 2025-11-15 16:58:05 +11:00
8c30e5c526 Add with chain for excluding options from showing up in help 2025-11-15 16:50:30 +11:00
741dfd4d7e Replace non-general shorts-only contractive Usage line in the full standard help writer with the short standard help writer 2025-11-15 16:13:41 +11:00
934f08a4c2 Tweak btreemap_nostd demo callback argument names 2025-11-15 16:00:44 +11:00
ec0f3f0739 Create no_std examples 2025-11-09 14:22:25 +11:00
304e12bd8e Restrict scope of automatic usage hint in standard error writer, so the default behaviour is less spammy 2025-11-06 02:29:06 +11:00
e26f4c933b Add CI test workflow 2025-11-05 21:27:36 +11:00
6158ae31d2 Update README.md 2025-11-05 21:00:11 +11:00
67dc191443 Generalise error & usage writer 2025-11-05 07:48:15 +11:00
9d8960e772 Fix always appending extra newline in writer convenience functions in std-only crate 2025-11-05 07:43:56 +11:00
dc833a24ed Move base BTreeMap API to alloc-only 2025-11-05 07:32:32 +11:00
0098df1252 Tests for Opts 2025-11-05 07:21:34 +11:00
b0072855bc Pull help querying and getting an iterator over options into a public methods 2025-11-05 05:06:59 +11:00
b11c55a1ee Make Opt getters public, write tests for internal & public Opt methods, correct match_name behaviour for edge case 2025-11-05 04:55:52 +11:00
b613cb315f Change homepage to repository 2025-11-04 21:16:20 +11:00
3953ac06c8 I've moved to workspaces+ added homepage & authors 2025-11-04 19:25:33 +11:00
a013e86067 Release 0.1.1 v0.1.1 2025-11-04 01:27:41 +11:00
b3091583ed Quick 'n dirty test for const_utf8, also fix count signature 2025-11-03 00:51:28 +11:00
ae7c12ad62 Add example from README.md as basic.rs 2025-11-02 22:55:00 +11:00
274fbbf097 Fix glaring errors in docstrings 2025-11-02 22:22:42 +11:00
6d42221332 Fix incorrect error message format for coerced parsing errors 2025-11-02 22:10:17 +11:00
6b26188990 Legally mandated fancy README.md 2025-11-02 21:53:37 +11:00
f73b609620 Release 0.1.0 v0.1.0 2025-11-02 19:52:57 +11:00
6b4d6d20ef Test capacity field too 2025-11-02 18:39:52 +11:00
b23e2326c4 Clean up ordered bitset (implementation & usages) and write tests 2025-11-02 18:37:44 +11:00
82b16238d2 Implement required non-positional option enforcement 2025-11-02 06:59:58 +11:00
57791b1a93 Add program description to full help 2025-11-02 02:01:05 +11:00
912d282d12 Move help text and required flag to with chain, make help text optional 2025-11-02 01:16:17 +11:00
0d9b86c767 Move special treatment of help flag into lib to improve usage display and BTreeMap use case ergonomics 2025-11-02 00:44:25 +11:00
bf10fbc0a4 Use with chaining instead of alternative constructor to override flag characters 2025-11-01 22:32:22 +11:00
e496a8063d Ensure OptIdentifier::Multi(names) can never be empty 2025-11-01 22:25:05 +11:00
b846d9be6e Add an option to generalise parsing to a BTreeMap when using std 2025-11-01 22:03:21 +11:00
b246782cd4 add profiles to cargo.toml for super duper fast compile times 2025-11-01 01:23:52 -04:00
c87fa5c4b6 First crack at help text 2025-11-01 16:19:38 +11:00
6397ce61d9 Fix required parameters being misinterpreted as required positionals 2025-10-28 18:31:03 +11:00
3030c5cad9 Initial parser implementation and bin2h example program 2025-10-28 18:23:23 +11:00