Fixup serde feature selection in nu-protocol (#13793)

Discovered by @cptpiepmatz that #13749 broke the standalone check for
`nu-protocol`

Explicit use of the feature as workspace root also disables all features
for `serde`. Alternatively we could reconsider this there.
This commit is contained in:
Stefan Holderbach 2024-09-06 00:57:36 +02:00 committed by GitHub
parent 4d2d553cca
commit 92091599ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -146,7 +146,7 @@ roxmltree = "0.19"
rstest = { version = "0.18", default-features = false }
rusqlite = "0.31"
rust-embed = "8.5.0"
serde = { version = "1.0", default-features = false }
serde = { version = "1.0" }
serde_json = "1.0"
serde_urlencoded = "0.7.1"
serde_yaml = "0.9"

View File

@ -34,7 +34,7 @@ lru = { workspace = true }
miette = { workspace = true, features = ["fancy-no-backtrace"] }
num-format = { workspace = true }
rmp-serde = { workspace = true, optional = true }
serde = { workspace = true, default-features = false }
serde = { workspace = true }
thiserror = "1.0"
typetag = "0.2"
os_pipe = { workspace = true, features = ["io_safety"] }

View File

@ -12,8 +12,8 @@ bench = false
[dependencies]
nu-plugin = { path = "../nu-plugin", version = "0.97.2" }
nu-protocol = { path = "../nu-protocol", version = "0.97.2", features = ["plugin"] }
serde = { workspace = true, default-features = false }
serde = { workspace = true }
typetag = "0.2"
[dev-dependencies]
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.97.2" }
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.97.2" }