fix: Specify nom features in the same way cexpr does

This removes nom from the workspace-hack crate. I'm not sure what's
going on here as cexpr is setting default-features false but then
explicitly setting the features to be the same as nom's default
features, and cargo-hakari seems to be resolving that differently than
using nom's default features. I think this might be a bug in
cargo-hakari, going to investigate.

Connects to #3117.
pull/24376/head
Carol (Nichols || Goulding) 2021-12-01 11:41:07 -05:00
parent 6b940166fe
commit 1b0a2eb7c7
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
3 changed files with 1 additions and 4 deletions

1
Cargo.lock generated
View File

@ -4991,7 +4991,6 @@ dependencies = [
"indexmap",
"log",
"memchr",
"nom",
"num-bigint 0.4.3",
"num-integer",
"num-traits",

View File

@ -5,7 +5,7 @@ authors = ["Paul Dix <paul@pauldix.net>"]
edition = "2021"
[dependencies] # In alphabetical order
nom = "7"
nom = { version = "7", default-features = false, features = ["std"] }
smallvec = "1.7.0"
snafu = "0.6.2"
observability_deps = { path = "../observability_deps" }

View File

@ -28,7 +28,6 @@ hyper = { version = "0.14", features = ["client", "full", "h2", "http1", "http2"
indexmap = { version = "1", default-features = false, features = ["std"] }
log = { version = "0.4", default-features = false, features = ["std"] }
memchr = { version = "2", features = ["std"] }
nom = { version = "7", features = ["alloc", "std"] }
num-bigint = { version = "0.4", features = ["std"] }
num-integer = { version = "0.1", default-features = false, features = ["i128", "std"] }
num-traits = { version = "0.2", features = ["i128", "libm", "std"] }
@ -61,7 +60,6 @@ hashbrown = { version = "0.11", features = ["ahash", "inline-more", "raw"] }
indexmap = { version = "1", default-features = false, features = ["std"] }
log = { version = "0.4", default-features = false, features = ["std"] }
memchr = { version = "2", features = ["std"] }
nom = { version = "7", features = ["alloc", "std"] }
rand = { version = "0.8", features = ["alloc", "getrandom", "libc", "rand_chacha", "rand_hc", "small_rng", "std", "std_rng"] }
regex = { version = "1", features = ["aho-corasick", "memchr", "perf", "perf-cache", "perf-dfa", "perf-inline", "perf-literal", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
regex-syntax = { version = "0.6", features = ["unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }