nushell/crates/nu-protocol/src/value
Bahex 16e174be7e
fix nuon conversions of range values (#14687)
# Description
Currently the step size of range values are discarded when converting to
nuon. This PR fixes that and makes `to nuon | from nuon` round trips
work.

# User-Facing Changes
`to nuon` conversion of `range` values now include the step size

# Tests + Formatting
Added some additional tests to cover inclusive/exclusive integer/float
and step size cases.
2025-01-07 21:29:39 +01:00
..
custom_value.rs Make drop notification timing for plugin custom values more consistent (#12341) 2024-04-04 09:13:25 +02:00
duration.rs Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00
filesize.rs Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
format.rs fix nuon conversions of range values (#14687) 2025-01-07 21:29:39 +01:00
from_value.rs Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
glob.rs ls, rm, cp, open, touch, mkdir: Don't expand tilde if input path is quoted string or a variable. (#12232) 2024-03-25 10:08:38 +08:00
into_value.rs Add #[nu_value(rename = "...")] as helper attribute on members for derive macros (#13761) 2024-09-04 11:27:21 +02:00
mod.rs fix nuon conversions of range values (#14687) 2025-01-07 21:29:39 +01:00
range.rs fix nuon conversions of range values (#14687) 2025-01-07 21:29:39 +01:00
record.rs Document public types in nu-protocol (#12906) 2024-07-11 13:30:12 +02:00
test_derive.rs Add #[nu_value(rename = "...")] as helper attribute on members for derive macros (#13761) 2024-09-04 11:27:21 +02:00