diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2022-05-19 21:42:45 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2022-05-23 15:11:51 +0200 |
commit | e93e56fba87b3b0eccaecf328a2be98a9c680e76 (patch) | |
tree | 8b383904b5c0063ec9304dc719592a3fc3371805 | |
parent | 59fe4a74cc899e9178684c5d6de8c3e7c488d4b0 (diff) |
ipc, openpgp: Reduce features of dependency lalrpop.
- lalpop v0.19 a default features we do not use, we should not build
them, either.
- lalrpop v0.17, which we allow for Debian's benefit, does not have
any explicit features. In this case, stating
"default-features = false" in Cargo.toml does not hurt.
-rw-r--r-- | Cargo.lock | 10 | ||||
-rw-r--r-- | ipc/Cargo.toml | 2 | ||||
-rw-r--r-- | openpgp/Cargo.toml | 2 |
3 files changed, 2 insertions, 12 deletions
@@ -1530,7 +1530,6 @@ dependencies = [ "itertools 0.10.3", "lalrpop-util", "petgraph", - "pico-args", "regex", "regex-syntax", "string_cache", @@ -1544,9 +1543,6 @@ name = "lalrpop-util" version = "0.19.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6d265705249fe209280676d8f68887859fa42e1d34f342fc05bd47726a5e188" -dependencies = [ - "regex", -] [[package]] name = "lazy_static" @@ -2073,12 +2069,6 @@ dependencies = [ ] [[package]] -name = "pico-args" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db8bcd96cb740d03149cbad5518db9fd87126a10ab519c011893b1754134c468" - -[[package]] name = "pikchr" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/ipc/Cargo.toml b/ipc/Cargo.toml index 72547d8a..71d7397b 100644 --- a/ipc/Cargo.toml +++ b/ipc/Cargo.toml @@ -44,7 +44,7 @@ winapi = { version = "0.3.8", default-features = false, features = ["winsock2"] ctor = "0.1" [build-dependencies] -lalrpop = ">=0.17" +lalrpop = { version = ">=0.17", default-features = false } [dev-dependencies] clap = "2.33" diff --git a/openpgp/Cargo.toml b/openpgp/Cargo.toml index 31ab96d0..59e7ea04 100644 --- a/openpgp/Cargo.toml +++ b/openpgp/Cargo.toml @@ -82,7 +82,7 @@ getrandom = { version = "0.2", features = ["js"] } rand07 = { package = "rand", version = "0.7", features = ["wasm-bindgen"] } [build-dependencies] -lalrpop = ">=0.17" +lalrpop = { version = ">=0.17", default-features = false } [dev-dependencies] quickcheck = { version = "1", default-features = false } |