From 8f0c6a2fe95c6b1ffebc1a0404177146f6276782 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Fri, 20 May 2022 11:00:42 -0700 Subject: [PATCH] cargo: use only "toml" feature from `config` crate We don't need the `config` crate's support for JSON etc., so let's just enable the TOML feature. (Trying to import all the JSON, RON, dependencies etc. into Google's source control was a pain.) --- Cargo.toml | 2 +- lib/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 30a6adc8d..c22042050 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ chrono = "0.4.19" clap = { version = "3.1.18", features = ["derive"] } clap_complete = "3.1.4" clap_mangen = "0.1" -config = "0.13.1" +config = { version = "0.13.1", features = ["toml"] } criterion = "0.3.5" dirs = "4.0.0" git2 = "0.14.2" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 8bd3fbb8e..56cdf3fb0 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -23,7 +23,7 @@ blake2 = "0.10.4" bytes = "1.1.0" byteorder = "1.4.3" chrono = "0.4.19" -config = "0.13.1" +config = { version = "0.13.1", features = ["toml"] } git2 = "0.14.2" hex = "0.4.3" itertools = "0.10.3"