2019-10-04 13:30:46 +00:00
|
|
|
|
[package]
|
|
|
|
|
name = "starship"
|
2021-05-15 14:04:49 +00:00
|
|
|
|
version = "0.54.0"
|
2019-10-04 13:30:46 +00:00
|
|
|
|
edition = "2018"
|
|
|
|
|
authors = ["Matan Kushner <hello@matchai.me>"]
|
|
|
|
|
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 19:14:51 +00:00
|
|
|
|
build = "build.rs"
|
2019-10-04 13:30:46 +00:00
|
|
|
|
description = """
|
2020-02-13 02:46:00 +00:00
|
|
|
|
The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
2019-10-04 13:30:46 +00:00
|
|
|
|
"""
|
2021-04-01 16:45:13 +00:00
|
|
|
|
# Keep `/` in front of `README.md` to exclude localized readmes
|
|
|
|
|
include = ["src/**/*", "build.rs", "Cross.toml", "LICENSE", "/README.md"]
|
2019-10-04 13:30:46 +00: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 15:53:58 +00:00
|
|
|
|
default = ["battery", "http"]
|
2020-03-15 01:07:34 +00:00
|
|
|
|
http = ["attohttpc"]
|
|
|
|
|
# Vendor OpenSSL, use this if you have trouble cross-compiling starship
|
|
|
|
|
tls-vendored = ["native-tls/vendored"]
|
|
|
|
|
|
2019-10-04 13:30:46 +00:00
|
|
|
|
|
|
|
|
|
[dependencies]
|
2020-08-14 17:03:33 +00:00
|
|
|
|
clap = "2.33.3"
|
2019-10-04 13:30:46 +00:00
|
|
|
|
ansi_term = "0.12.1"
|
2020-10-22 05:21:10 +00:00
|
|
|
|
dirs-next = "2.0.0"
|
2021-05-12 08:05:52 +00:00
|
|
|
|
git2 = { version = "0.13.19", default-features = false }
|
2020-12-20 17:38:22 +00:00
|
|
|
|
toml = { version = "0.5.8", features = ["preserve_order"] }
|
2021-03-29 05:40:18 +00:00
|
|
|
|
rust-ini = "0.17.0"
|
2021-03-01 06:25:33 +00:00
|
|
|
|
serde_json = "1.0.64"
|
2021-05-19 08:10:45 +00:00
|
|
|
|
rayon = "1.5.1"
|
2021-01-27 05:19:27 +00:00
|
|
|
|
log = { version = "0.4.14", features = ["std"] }
|
2019-10-04 13:30:46 +00: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
|
2020-11-02 05:24:22 +00:00
|
|
|
|
battery = { version = "0.7.8", optional = true }
|
2021-01-18 05:42:38 +00:00
|
|
|
|
path-slash = "0.1.4"
|
2020-11-25 05:20:49 +00:00
|
|
|
|
unicode-segmentation = "1.7.1"
|
2019-12-19 05:27:49 +00:00
|
|
|
|
gethostname = "0.2.1"
|
2021-03-03 05:20:08 +00:00
|
|
|
|
once_cell = "1.7.2"
|
2020-12-20 17:24:28 +00:00
|
|
|
|
chrono = "0.4.19"
|
2021-04-12 05:39:57 +00:00
|
|
|
|
sys-info = "0.9.0"
|
2021-05-10 11:05:23 +00:00
|
|
|
|
byte-unit = "4.0.12"
|
2021-04-06 20:12:37 +00:00
|
|
|
|
starship_module_config_derive = { version = "0.2.1", path = "starship_module_config_derive" }
|
2021-01-04 05:27:29 +00:00
|
|
|
|
yaml-rust = "0.4.5"
|
2020-12-20 17:24:28 +00:00
|
|
|
|
pest = "2.1.3"
|
|
|
|
|
pest_derive = "2.1.0"
|
2021-05-07 09:05:27 +00:00
|
|
|
|
regex = "1.5.4"
|
2021-05-18 20:10:26 +00:00
|
|
|
|
os_info = "3.0.6"
|
2021-05-17 08:05:47 +00:00
|
|
|
|
urlencoding = "1.3.3"
|
2021-04-19 05:30:10 +00:00
|
|
|
|
open = "1.7.0"
|
2020-07-02 05:39:33 +00:00
|
|
|
|
unicode-width = "0.1.8"
|
2020-05-04 11:53:24 +00:00
|
|
|
|
term_size = "0.3.2"
|
2021-02-24 05:18:17 +00:00
|
|
|
|
quick-xml = "0.22.0"
|
2021-01-27 05:19:06 +00:00
|
|
|
|
rand = "0.8.3"
|
2021-05-13 08:05:49 +00:00
|
|
|
|
serde = { version = "1.0.126", features = ["derive"] }
|
2021-03-31 15:31:55 +00:00
|
|
|
|
indexmap = { version ="1.6.2", features = ["serde"] }
|
2021-05-14 08:05:48 +00:00
|
|
|
|
notify-rust = { version = "4.5.1", optional = true }
|
2020-12-05 11:25:48 +00:00
|
|
|
|
semver = "0.11.0"
|
2021-03-29 05:40:44 +00:00
|
|
|
|
which = "4.1.0"
|
2021-03-31 05:23:44 +00:00
|
|
|
|
shadow-rs = "0.5.25"
|
2021-05-10 12:05:37 +00:00
|
|
|
|
versions = "3.0.1"
|
2021-04-06 20:12:37 +00:00
|
|
|
|
strsim = "0.10.0"
|
2021-01-22 19:14:51 +00:00
|
|
|
|
|
2021-01-25 05:22:33 +00:00
|
|
|
|
process_control = { version = "3.0.1", features = ["crossbeam-channel"] }
|
2019-10-04 13:30:46 +00:00
|
|
|
|
|
2020-03-15 01:07:34 +00:00
|
|
|
|
# Optional/http:
|
2021-04-05 05:31:57 +00:00
|
|
|
|
attohttpc = { version = "0.17.0", optional = true, default-features = false, features = ["tls", "form"] }
|
2020-12-30 05:49:08 +00:00
|
|
|
|
native-tls = { version = "0.2.7", optional = true }
|
2020-08-21 16:41:36 +00:00
|
|
|
|
shell-words = "1.0.0"
|
2020-03-15 01:07:34 +00:00
|
|
|
|
|
2020-07-13 21:55:42 +00:00
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2020-12-20 17:24:28 +00:00
|
|
|
|
winapi = { version = "0.3.9", features = [
|
2020-08-07 19:13:12 +00:00
|
|
|
|
"winuser",
|
|
|
|
|
"securitybaseapi",
|
|
|
|
|
"processthreadsapi",
|
|
|
|
|
"handleapi",
|
|
|
|
|
"impl-default",
|
|
|
|
|
] }
|
2020-07-13 21:55:42 +00:00
|
|
|
|
|
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2021-02-22 05:19:40 +00:00
|
|
|
|
nix = "0.20.0"
|
2020-07-13 21:55:42 +00:00
|
|
|
|
|
2021-01-22 19:14:51 +00:00
|
|
|
|
[build-dependencies]
|
2021-03-31 05:23:44 +00:00
|
|
|
|
shadow-rs = "0.5.25"
|
2021-01-22 19:14:51 +00:00
|
|
|
|
|
2019-10-04 13:30:46 +00:00
|
|
|
|
[dev-dependencies]
|
2021-01-13 05:19:35 +00:00
|
|
|
|
tempfile = "3.2.0"
|
2019-10-04 13:30:46 +00:00
|
|
|
|
|
2019-10-13 04:33:47 +00:00
|
|
|
|
[profile.release]
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
lto = true
|
|
|
|
|
|
2019-10-04 13:30:46 +00:00
|
|
|
|
[[bin]]
|
|
|
|
|
name = "starship"
|
|
|
|
|
path = "src/main.rs"
|