1 |
commit: 0b11ea374e0ae2434810e3671dc382ff5b468a14 |
2 |
Author: Leonardo Neumann <leonardo <AT> neumann <DOT> dev <DOT> br> |
3 |
AuthorDate: Fri Mar 25 21:24:07 2022 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 00:56:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/cargo-ebuild.git/commit/?id=0b11ea37 |
7 |
|
8 |
Cargo.toml: Add and enable vendored-libgit2 feature |
9 |
|
10 |
Closes: gentoo#20 |
11 |
Signed-off-by: Leonardo Neumann <leonardo <AT> neumann.dev.br> |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
Cargo.toml | 9 ++++++++- |
15 |
1 file changed, 8 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/Cargo.toml b/Cargo.toml |
18 |
index a66ede1..4058bf8 100644 |
19 |
--- a/Cargo.toml |
20 |
+++ b/Cargo.toml |
21 |
@@ -29,13 +29,20 @@ cargo_metadata = "0.14.2" |
22 |
itertools = "0.10.3" |
23 |
rustsec = "0.25.1" |
24 |
structopt = "0.3.26" |
25 |
-serde = { version = "1.0.136", features = ["derive"] } |
26 |
time = "0.3.9" |
27 |
|
28 |
[dependencies.phf] |
29 |
version = "0.10.1" |
30 |
features = ["macros"] |
31 |
|
32 |
+[dependencies.serde] |
33 |
+version = "1.0.136" |
34 |
+features = ["derive"] |
35 |
+ |
36 |
[dependencies.tera] |
37 |
version = "1.15.0" |
38 |
default-features = false |
39 |
+ |
40 |
+[features] |
41 |
+default = ["vendored-libgit2"] |
42 |
+vendored-libgit2 = ["rustsec/vendored-libgit2"] |