2019-10-04 15:30:46 +02:00
|
|
|
|
[package]
|
|
|
|
|
name = "starship"
|
2021-12-21 21:06:15 +01:00
|
|
|
|
version = "1.1.1"
|
2021-10-25 19:39:09 +02:00
|
|
|
|
edition = "2021"
|
2021-11-09 22:30:28 +01:00
|
|
|
|
authors = ["Starship Contributors"]
|
2019-10-04 15:30:46 +02:00
|
|
|
|
homepage = "https://starship.rs"
|
|
|
|
|
documentation = "https://starship.rs/guide/"
|
|
|
|
|
repository = "https://github.com/starship/starship"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
license = "ISC"
|
|
|
|
|
keywords = ["prompt", "shell", "bash", "fish", "zsh"]
|
|
|
|
|
categories = ["command-line-utilities"]
|
2021-01-22 20:14:51 +01:00
|
|
|
|
build = "build.rs"
|
2019-10-04 15:30:46 +02:00
|
|
|
|
description = """
|
2020-02-13 03:46:00 +01:00
|
|
|
|
The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
2019-10-04 15:30:46 +02:00
|
|
|
|
"""
|
2021-04-01 18:45:13 +02:00
|
|
|
|
# Keep `/` in front of `README.md` to exclude localized readmes
|
2021-11-09 22:30:28 +01:00
|
|
|
|
include = ["src/**/*", "build.rs", "Cross.toml", "LICENSE", "README.md"]
|
2019-10-04 15:30:46 +02:00
|
|
|
|
|
|
|
|
|
[badges]
|
|
|
|
|
is-it-maintained-issue-resolution = { repository = "starship/starship" }
|
|
|
|
|
is-it-maintained-open-issues = { repository = "starship/starship" }
|
|
|
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
|
|
|
|
|
|
[features]
|
2020-03-05 16:53:58 +01:00
|
|
|
|
default = ["battery", "http"]
|
2020-03-15 02:07:34 +01:00
|
|
|
|
http = ["attohttpc"]
|
2021-11-09 12:35:45 +01:00
|
|
|
|
battery = ["starship-battery"]
|
2020-03-15 02:07:34 +01:00
|
|
|
|
# Vendor OpenSSL, use this if you have trouble cross-compiling starship
|
|
|
|
|
tls-vendored = ["native-tls/vendored"]
|
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[dependencies]
|
2021-11-30 08:06:20 +01:00
|
|
|
|
clap = "2.34.0"
|
2019-10-04 15:30:46 +02:00
|
|
|
|
ansi_term = "0.12.1"
|
2021-07-04 21:32:58 +02:00
|
|
|
|
directories-next = "2.0.0"
|
2021-12-02 08:05:38 +01:00
|
|
|
|
git2 = { version = "0.13.25", default-features = false }
|
2020-12-20 18:38:22 +01:00
|
|
|
|
toml = { version = "0.5.8", features = ["preserve_order"] }
|
2021-03-29 07:40:18 +02:00
|
|
|
|
rust-ini = "0.17.0"
|
2021-12-14 07:39:48 +01:00
|
|
|
|
serde_json = "1.0.73"
|
2021-05-19 10:10:45 +02:00
|
|
|
|
rayon = "1.5.1"
|
2021-01-27 06:19:27 +01:00
|
|
|
|
log = { version = "0.4.14", features = ["std"] }
|
2019-10-04 15:30:46 +02:00
|
|
|
|
# battery is optional (on by default) because the crate doesn't currently build for Termux
|
|
|
|
|
# see: https://github.com/svartalf/rust-battery/issues/33
|
2021-11-09 12:35:45 +01:00
|
|
|
|
starship-battery = { version = "0.7.9", optional = true }
|
2021-01-18 06:42:38 +01:00
|
|
|
|
path-slash = "0.1.4"
|
2021-07-02 20:06:38 +02:00
|
|
|
|
unicode-segmentation = "1.8.0"
|
2019-12-19 06:27:49 +01:00
|
|
|
|
gethostname = "0.2.1"
|
2021-12-15 09:05:52 +01:00
|
|
|
|
once_cell = "1.9.0"
|
2020-12-20 18:24:28 +01:00
|
|
|
|
chrono = "0.4.19"
|
2021-10-22 09:05:32 +02:00
|
|
|
|
sys-info = "0.9.1"
|
2021-10-21 14:27:16 +02:00
|
|
|
|
byte-unit = "4.0.13"
|
2021-04-06 22:12:37 +02:00
|
|
|
|
starship_module_config_derive = { version = "0.2.1", path = "starship_module_config_derive" }
|
2021-01-04 06:27:29 +01:00
|
|
|
|
yaml-rust = "0.4.5"
|
2020-12-20 18:24:28 +01:00
|
|
|
|
pest = "2.1.3"
|
|
|
|
|
pest_derive = "2.1.0"
|
2021-05-07 11:05:27 +02:00
|
|
|
|
regex = "1.5.4"
|
2021-12-22 08:05:26 +01:00
|
|
|
|
os_info = "3.0.9"
|
2021-07-19 20:22:33 +02:00
|
|
|
|
urlencoding = "2.1.0"
|
2021-12-01 23:05:48 +01:00
|
|
|
|
open = "2.0.2"
|
2021-09-17 13:37:28 +02:00
|
|
|
|
unicode-width = "0.1.9"
|
2021-09-23 17:52:51 +02:00
|
|
|
|
terminal_size = "0.1.17"
|
2021-02-24 06:18:17 +01:00
|
|
|
|
quick-xml = "0.22.0"
|
2021-06-16 09:07:08 +02:00
|
|
|
|
rand = "0.8.4"
|
2021-12-17 08:05:27 +01:00
|
|
|
|
serde = { version = "1.0.132", features = ["derive"] }
|
2021-06-30 21:29:46 +02:00
|
|
|
|
indexmap = { version ="1.7.0", features = ["serde"] }
|
2021-11-05 08:05:27 +01:00
|
|
|
|
notify-rust = { version = "4.5.5", optional = true }
|
2021-08-02 19:11:31 +02:00
|
|
|
|
semver = "1.0.4"
|
2021-08-02 19:20:56 +02:00
|
|
|
|
which = "4.2.2"
|
2021-11-22 08:05:25 +01:00
|
|
|
|
shadow-rs = "0.8.1"
|
2021-08-24 18:38:12 +02:00
|
|
|
|
versions = "3.0.3"
|
2021-04-06 22:12:37 +02:00
|
|
|
|
strsim = "0.10.0"
|
2021-12-08 08:05:30 +01:00
|
|
|
|
sha-1 = "0.10.0"
|
2021-12-15 08:05:44 +01:00
|
|
|
|
toml_edit = "0.12.0"
|
2021-01-22 20:14:51 +01:00
|
|
|
|
|
2021-07-14 08:47:51 +02:00
|
|
|
|
process_control = { version = "3.1.0", features = ["crossbeam-channel"] }
|
2019-10-04 15:30:46 +02:00
|
|
|
|
|
2020-03-15 02:07:34 +01:00
|
|
|
|
# Optional/http:
|
2021-10-15 13:59:02 +02:00
|
|
|
|
attohttpc = { version = "0.18.0", optional = true, default-features = false, features = ["tls", "form"] }
|
2021-08-11 13:00:25 +02:00
|
|
|
|
native-tls = { version = "0.2.8", optional = true }
|
2020-08-21 18:41:36 +02:00
|
|
|
|
shell-words = "1.0.0"
|
2020-03-15 02:07:34 +01:00
|
|
|
|
|
2020-07-13 23:55:42 +02:00
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2020-12-20 18:24:28 +01:00
|
|
|
|
winapi = { version = "0.3.9", features = [
|
2020-08-07 21:13:12 +02:00
|
|
|
|
"winuser",
|
|
|
|
|
"securitybaseapi",
|
|
|
|
|
"processthreadsapi",
|
|
|
|
|
"handleapi",
|
|
|
|
|
"impl-default",
|
|
|
|
|
] }
|
2020-07-13 23:55:42 +02:00
|
|
|
|
|
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2021-12-17 08:05:24 +01:00
|
|
|
|
nix = "0.23.1"
|
2020-07-13 23:55:42 +02:00
|
|
|
|
|
2021-01-22 20:14:51 +01:00
|
|
|
|
[build-dependencies]
|
2021-11-22 08:05:25 +01:00
|
|
|
|
shadow-rs = "0.8.1"
|
2021-01-22 20:14:51 +01:00
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[dev-dependencies]
|
2021-01-13 06:19:35 +01:00
|
|
|
|
tempfile = "3.2.0"
|
2021-12-13 08:05:49 +01:00
|
|
|
|
mockall = "0.11"
|
2019-10-04 15:30:46 +02:00
|
|
|
|
|
2019-10-13 06:33:47 +02:00
|
|
|
|
[profile.release]
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
lto = true
|
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[[bin]]
|
|
|
|
|
name = "starship"
|
|
|
|
|
path = "src/main.rs"
|