2019-10-04 13:30:46 +00:00
|
|
|
|
[package]
|
|
|
|
|
name = "starship"
|
2022-04-15 21:29:43 +00:00
|
|
|
|
version = "1.6.2"
|
2021-11-09 21:30:28 +00:00
|
|
|
|
authors = ["Starship Contributors"]
|
2022-01-20 08:32:09 +00:00
|
|
|
|
build = "build.rs"
|
|
|
|
|
categories = ["command-line-utilities"]
|
2019-10-04 13:30:46 +00:00
|
|
|
|
documentation = "https://starship.rs/guide/"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
edition = "2021"
|
|
|
|
|
homepage = "https://starship.rs"
|
|
|
|
|
# Keep `/` in front of `README.md` to exclude localized readmes
|
2022-03-09 08:05:02 +00:00
|
|
|
|
include = [
|
|
|
|
|
"src/**/*",
|
|
|
|
|
"/starship.exe.manifest",
|
|
|
|
|
"build.rs",
|
|
|
|
|
"Cross.toml",
|
|
|
|
|
"LICENSE",
|
|
|
|
|
"/README.md",
|
|
|
|
|
"docs/.vuepress/public/presets/toml/",
|
2022-04-01 15:14:05 +00:00
|
|
|
|
".github/config-schema.json",
|
2022-03-09 08:05:02 +00:00
|
|
|
|
]
|
2019-10-04 13:30:46 +00:00
|
|
|
|
keywords = ["prompt", "shell", "bash", "fish", "zsh"]
|
2022-01-20 08:32:09 +00:00
|
|
|
|
license = "ISC"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
repository = "https://github.com/starship/starship"
|
2022-03-12 21:23:24 +00:00
|
|
|
|
# MSRV is specified to use std::thread::availabe_parallelism, which was stablizized in Rust version 1.59
|
|
|
|
|
# Note: MSRV is only intended as a hint, and only the latest version is officially supported in starship.
|
|
|
|
|
rust-version = "1.59"
|
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
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
[features]
|
2022-04-12 10:07:36 +00:00
|
|
|
|
default = ["battery", "notify"]
|
2021-11-09 11:35:45 +00:00
|
|
|
|
battery = ["starship-battery"]
|
2022-04-01 15:14:05 +00:00
|
|
|
|
config-schema = ["schemars"]
|
2022-04-12 10:07:36 +00:00
|
|
|
|
notify = ["notify-rust"]
|
2020-03-15 01:07:34 +00:00
|
|
|
|
|
2019-10-04 13:30:46 +00:00
|
|
|
|
[dependencies]
|
2022-01-20 08:32:09 +00:00
|
|
|
|
ansi_term = "0.12.1"
|
2022-03-07 07:10:39 +00:00
|
|
|
|
byte-unit = "4.0.14"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
chrono = "0.4.19"
|
2022-04-01 13:33:08 +00:00
|
|
|
|
clap = { version = "3.1.7", features = ["derive", "cargo", "unicode"] }
|
2022-03-03 11:10:29 +00:00
|
|
|
|
clap_complete = "3.1.1"
|
2022-03-24 19:06:24 +00:00
|
|
|
|
dirs-next = "2.0.0"
|
2022-02-23 23:32:35 +00:00
|
|
|
|
dunce = "1.0.2"
|
2022-03-14 20:40:05 +00:00
|
|
|
|
gethostname = "0.2.3"
|
2022-03-20 01:01:57 +00:00
|
|
|
|
git2 = { version = "0.14.2", default-features = false }
|
2022-03-30 11:10:36 +00:00
|
|
|
|
indexmap = { version = "1.8.1", features = ["serde"] }
|
2022-01-30 20:31:26 +00:00
|
|
|
|
local_ipaddress = "0.1.3"
|
2022-03-25 10:43:48 +00:00
|
|
|
|
log = { version = "0.4.16", features = ["std"] }
|
2022-04-12 10:07:36 +00:00
|
|
|
|
# nofity-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
|
|
|
|
|
# see: https://github.com/NixOS/nixpkgs/issues/160876
|
|
|
|
|
notify-rust = { version = "4.5.8", optional = true }
|
2022-03-05 11:05:14 +00:00
|
|
|
|
once_cell = "1.10.0"
|
2022-03-08 21:54:02 +00:00
|
|
|
|
open = "2.1.1"
|
2022-02-07 14:28:42 +00:00
|
|
|
|
os_info = "3.2.0"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
path-slash = "0.1.4"
|
2020-12-20 17:24:28 +00:00
|
|
|
|
pest = "2.1.3"
|
|
|
|
|
pest_derive = "2.1.0"
|
2021-02-24 05:18:17 +00:00
|
|
|
|
quick-xml = "0.22.0"
|
2022-02-15 07:45:02 +00:00
|
|
|
|
rand = "0.8.5"
|
2022-04-14 07:06:53 +00:00
|
|
|
|
rayon = "1.5.2"
|
2022-03-09 13:24:28 +00:00
|
|
|
|
regex = "1.5.5"
|
2022-02-22 08:06:29 +00:00
|
|
|
|
rust-ini = "0.18.0"
|
2022-03-28 12:38:31 +00:00
|
|
|
|
semver = "1.0.7"
|
2022-01-26 17:08:20 +00:00
|
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
2022-02-14 14:52:06 +00:00
|
|
|
|
serde_json = "1.0.79"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
sha-1 = "0.10.0"
|
2022-03-22 19:36:55 +00:00
|
|
|
|
shadow-rs = "0.11.0"
|
2022-01-20 08:32:09 +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
|
|
|
|
|
starship-battery = { version = "0.7.9", optional = true }
|
2021-04-06 20:12:37 +00:00
|
|
|
|
strsim = "0.10.0"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
sys-info = "0.9.1"
|
|
|
|
|
terminal_size = "0.1.17"
|
|
|
|
|
toml = { version = "0.5.8", features = ["preserve_order"] }
|
2022-03-31 10:37:29 +00:00
|
|
|
|
toml_edit = "0.14.2"
|
2022-02-07 14:29:38 +00:00
|
|
|
|
unicode-segmentation = "1.9.0"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
unicode-width = "0.1.9"
|
|
|
|
|
urlencoding = "2.1.0"
|
|
|
|
|
versions = "4.0.0"
|
2022-03-21 12:12:03 +00:00
|
|
|
|
which = "4.2.5"
|
2022-01-20 08:32:09 +00:00
|
|
|
|
yaml-rust = "0.4.5"
|
2021-01-22 19:14:51 +00:00
|
|
|
|
|
2022-04-11 07:08:38 +00:00
|
|
|
|
process_control = { version = "3.4.0", features = ["crossbeam-channel"] }
|
2019-10-04 13:30:46 +00:00
|
|
|
|
|
2022-02-07 14:28:17 +00:00
|
|
|
|
shell-words = "1.1.0"
|
2020-03-15 01:07:34 +00:00
|
|
|
|
|
2022-04-01 15:14:05 +00:00
|
|
|
|
[dependencies.schemars]
|
|
|
|
|
version = "0.8.8"
|
|
|
|
|
optional = true
|
|
|
|
|
features = ["preserve_order", "indexmap"]
|
|
|
|
|
|
2020-07-13 21:55:42 +00:00
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-01-20 08:32:09 +00:00
|
|
|
|
winapi = { version = "0.3.9", features = ["winuser", "securitybaseapi", "processthreadsapi", "handleapi", "impl-default"] }
|
2022-04-01 15:47:49 +00:00
|
|
|
|
deelevate = "0.2.0"
|
2020-07-13 21:55:42 +00:00
|
|
|
|
|
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2021-12-17 07:05:24 +00:00
|
|
|
|
nix = "0.23.1"
|
2020-07-13 21:55:42 +00:00
|
|
|
|
|
2021-01-22 19:14:51 +00:00
|
|
|
|
[build-dependencies]
|
2022-03-22 19:36:55 +00:00
|
|
|
|
shadow-rs = "0.11.0"
|
2021-01-22 19:14:51 +00:00
|
|
|
|
|
2022-02-20 17:12:40 +00:00
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
|
winres = "0.1.12"
|
|
|
|
|
|
2019-10-04 13:30:46 +00:00
|
|
|
|
[dev-dependencies]
|
2021-12-13 07:05:49 +00:00
|
|
|
|
mockall = "0.11"
|
2022-01-20 08:32:09 +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"
|