termux-packages/packages/starship/Cargo.toml.patch

23 lines
644 B
Diff

--- a/Cargo.toml 2022-04-16 06:14:30.643293763 +0000
+++ b/Cargo.toml 2022-04-16 06:42:14.845895669 +0000
@@ -30,8 +30,7 @@
"""
[features]
-default = ["battery", "notify"]
-battery = ["starship-battery"]
+default = ["notify"]
config-schema = ["schemars"]
notify = ["notify-rust"]
@@ -67,9 +66,6 @@
serde_json = "1.0.79"
sha-1 = "0.10.0"
shadow-rs = "0.11.0"
-# battery is optional (on by default) because the crate doesn't currently build for Termux
-# see: https://github.com/svartalf/rust-battery/issues/33
-starship-battery = { version = "0.7.9", optional = true }
strsim = "0.10.0"
sys-info = "0.9.1"
terminal_size = "0.1.17"