nushell/crates/nu-plugin/src
Ian Manske 7a7d43344e
Range refactor (#12405)
# Description
Currently, `Range` is a struct with a `from`, `to`, and `incr` field,
which are all type `Value`. This PR changes `Range` to be an enum over
`IntRange` and `FloatRange` for better type safety / stronger compile
time guarantees.

Fixes: #11778 Fixes: #11777 Fixes: #11776 Fixes: #11775 Fixes: #11774
Fixes: #11773 Fixes: #11769.

# User-Facing Changes
Hopefully none, besides bug fixes.

Although, the `serde` representation might have changed.
2024-04-06 09:04:56 -05:00
..
plugin Add BufWriter to ChildStdin on the plugin interface (#12419) 2024-04-06 11:52:27 +08:00
protocol Range refactor (#12405) 2024-04-06 09:04:56 -05:00
serializers Rename Value::CustomValue to Value::Custom (#12309) 2024-03-27 22:10:56 +01:00
util Range refactor (#12405) 2024-04-06 09:04:56 -05:00
lib.rs Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
sequence.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00