mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +01:00
f2169c8022
# Description In conflict with the documentation, the msgpack serializer for plugins is actually using the compact format, which doesn't name struct fields, and is instead dependent on their ordering, rendering them as tuples. This is not a good idea for a robust protocol even if it makes the serialization and deserialization faster. I expect this to have some impact on performance, but I think the robustness is probably worth it. Deserialization always accepts either format, so this shouldn't cause too many incompatibilities. # User-Facing Changes This does technically change the protocol, but it makes it reflect the documentation. It shouldn't break deserialization, so plugins shouldn't necessarily need a recompile. Performance is likely worse and I should benchmark the difference. # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md |