commit:     0b11ea374e0ae2434810e3671dc382ff5b468a14
Author:     Leonardo Neumann <leonardo <AT> neumann <DOT> dev <DOT> br>
AuthorDate: Fri Mar 25 21:24:07 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 00:56:12 2022 +0000
URL:        https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=0b11ea37

Cargo.toml: Add and enable vendored-libgit2 feature

Closes: gentoo#20
Signed-off-by: Leonardo Neumann <leonardo <AT> neumann.dev.br>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 Cargo.toml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Cargo.toml b/Cargo.toml
index a66ede1..4058bf8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,13 +29,20 @@ cargo_metadata = "0.14.2"
 itertools = "0.10.3"
 rustsec = "0.25.1"
 structopt = "0.3.26"
-serde = { version = "1.0.136", features = ["derive"] }
 time = "0.3.9"
 
 [dependencies.phf]
 version = "0.10.1"
 features = ["macros"]
 
+[dependencies.serde]
+version = "1.0.136"
+features = ["derive"]
+
 [dependencies.tera]
 version = "1.15.0"
 default-features = false
+
+[features]
+default = ["vendored-libgit2"]
+vendored-libgit2 = ["rustsec/vendored-libgit2"]

Reply via email to