starship: disable battery to simplify the packaging
Sylvestre Ledru
4 years ago
|
0 |
Index: starship/Cargo.toml
|
|
1 |
===================================================================
|
|
2 |
--- starship.orig/Cargo.toml
|
|
3 |
+++ starship/Cargo.toml
|
|
4 |
@@ -34,10 +34,6 @@ path = "src/main.rs"
|
|
5 |
[dependencies.ansi_term]
|
|
6 |
version = "0.12.1"
|
|
7 |
|
|
8 |
-[dependencies.battery]
|
|
9 |
-version = "0.7.5"
|
|
10 |
-optional = true
|
|
11 |
-
|
|
12 |
[dependencies.byte-unit]
|
|
13 |
version = "3.0.3"
|
|
14 |
|
|
15 |
@@ -120,7 +116,6 @@ version = "0.4"
|
|
16 |
version = "3.1.0"
|
|
17 |
|
|
18 |
[features]
|
|
19 |
-default = ["battery"]
|
|
20 |
[badges.is-it-maintained-issue-resolution]
|
|
21 |
repository = "starship/starship"
|
|
22 |
|