mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 11:54:02 +01:00
0a1cdc5107
* Add the nu-serde crate nu-serde is a crate that can be used to turn a value implementing `serde::Serialize` into a `nu-protocol::Value`. This has the potential to significantly simplify plugin authorship. This crate was the previously independent [serde-nu](https://github.com/lily-mara/serde-nu) but the nushell maintainers expressed an interest in having it added to the mainline nushell repository. * fixup! Add the nu-serde crate
20 lines
498 B
TOML
20 lines
498 B
TOML
[package]
|
|
name = "nu-serde"
|
|
version = "0.34.1"
|
|
edition = "2018"
|
|
authors = ["The Nu Project Contributors"]
|
|
description = "Turn any value into a nu-protocol::Value with serde"
|
|
license = "MIT"
|
|
repository = "https://github.com/nushell/nushell"
|
|
documentation = "https://docs.rs/nu-serde"
|
|
|
|
[dependencies]
|
|
bigdecimal = "0.2"
|
|
nu-protocol = { version = "0.34.1", path = "../nu-protocol" }
|
|
nu-source = { version = "0.34.1", path = "../nu-source" }
|
|
serde = "1"
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
insta = "1"
|