nushell/tests/fixtures
Devyn Cairns adf38c7c76
Msgpack commands (#12664)
# Description

I thought about bringing `nu_plugin_msgpack` in, but that is MPL with a
clause that prevents other licenses, so rather than adapt that code I
decided to take a crack at just doing it straight from `rmp` to `Value`
without any `rmpv` in the middle. It seems like it's probably faster,
though I can't say for sure how much with the plugin overhead.

@IanManske I started on a `Read` implementation for `RawStream` but just
specialized to `from msgpack` here, but I'm thinking after release maybe
we can polish it up and make it a real one. It works!

# User-Facing Changes
New commands:

- `from msgpack`
- `from msgpackz`
- `to msgpack`
- `to msgpackz`

# Tests + Formatting
Pretty thorough tests added for the format deserialization, with a
roundtrip for serialization. Some example tests too for both `from
msgpack` and `to msgpack`.

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`


# After Submitting
- [ ] update release notes
2024-04-26 06:23:16 -05:00
..
completions Fix completions for directories with hidden files (#11921) 2024-02-26 12:14:19 -06:00
cp use uutils/coreutils cp command in place of nushell's cp command (#10097) 2023-09-08 13:57:38 -05:00
eval Exit early when encountering parsing errors (#10213) 2023-09-05 14:36:37 +02:00
formats Msgpack commands (#12664) 2024-04-26 06:23:16 -05:00
lsp Send LSP Completion Item Kind (#11443) 2024-03-24 20:14:12 -05:00
partial_completions Fish-like completions for nested directories (#10543) 2023-10-03 06:44:51 +13:00
quoted_completions Fix file completions which contains glob pattern (#11766) 2024-02-08 06:42:50 +08:00