Commit Graph

5 Commits

Author SHA1 Message Date
leopardracer f7c28ab44d
Update input_string.rs 2025-02-25 12:03:03 +02:00
Tobin C. Harding afa4e1ed56
Remove unnecessary lifetime
Found by rustc, after update to recent nightly version to
`nightly-2024-10-06`.
2024-10-10 10:18:49 +11:00
Tobin C. Harding 4ecb1fe7da
internals: Add docs to InputString 2023-12-07 06:48:18 +11:00
Tobin C. Harding fa8d3002cd
internals: Fix docs typo 2023-12-07 06:48:18 +11:00
Martin Habovstiak 2b6bcf085c Implement support for `alloc`-free parse errors
This implements basic facilities to conditionally carry string inputs in
parse errors. This includes:

* `InputString` type that may carry the input and format it
* `parse_error_type!` macro creating a special type for parse errors
* `impl_parse` implementing parsing for various types as well as its
  `serde`-supporting alternative
2023-06-04 21:15:37 +02:00