nushell/crates
Stefan Holderbach 01c79bbefc
Implement De-/Serialize for Record manually (#12365)
# Description
This decouples the serialized representation of `Record` from its
internal implementation. It now gets treated as a map type in `serde`.

This has several benefits:
- more efficient representation (not showing inner fields)
- human readable e.g. as a JSON record
- no breaking changes when refactoring the `Record` internals in the
future (see #12326, or potential introduction of `indexmap::IndexMap`
for large N)
- we now deny the creation of invalid records a non-cooperating plugin
could produce
  - guaranteed key-value correspondence
  - checking for unique keys

# Breaking change to the plugin protocol:
Now expects a record/map directly as the `Record.val` field instead of a
serialization of it.
2024-04-07 07:21:03 +08:00
..
nu_plugin_custom_values Fix deadlock on PluginCustomValue drop (#12418) 2024-04-05 21:57:00 -05:00
nu_plugin_example Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu_plugin_formats Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu_plugin_gstat Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu_plugin_inc Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu_plugin_python Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu_plugin_query Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-cli Make auto-cd check for permissions (#12342) 2024-04-06 08:56:46 -05:00
nu-cmd-base Range refactor (#12405) 2024-04-06 09:04:56 -05:00
nu-cmd-dataframe Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-cmd-extra Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-cmd-lang Range refactor (#12405) 2024-04-06 09:04:56 -05:00
nu-color-config Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-command Prevent panic on date overflow (#12427) 2024-04-06 15:16:49 +00:00
nu-engine Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-explore Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-glob Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-json Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-lsp Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-parser Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-path Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-plugin Range refactor (#12405) 2024-04-06 09:04:56 -05:00
nu-plugin-test-support Added let command to PluginTest (#12431) 2024-04-06 20:11:41 +00:00
nu-pretty-hex Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-protocol Implement De-/Serialize for Record manually (#12365) 2024-04-07 07:21:03 +08:00
nu-std Fix testing.nu import of std log (#12392) 2024-04-05 20:29:19 -05:00
nu-system Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-table Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-term-grid Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-test-support Bump version to 0.92.2 (#12402) 2024-04-05 10:24:00 -04:00
nu-utils Make auto-cd check for permissions (#12342) 2024-04-06 08:56:46 -05:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.