2019-10-04 15:30:46 +02:00
|
|
|
|
[package]
|
|
|
|
|
name = "starship"
|
2022-03-10 19:01:38 +01:00
|
|
|
|
version = "1.4.2"
|
2021-11-09 22:30:28 +01:00
|
|
|
|
authors = ["Starship Contributors"]
|
2022-01-20 09:32:09 +01:00
|
|
|
|
build = "build.rs"
|
|
|
|
|
categories = ["command-line-utilities"]
|
2019-10-04 15:30:46 +02:00
|
|
|
|
documentation = "https://starship.rs/guide/"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
edition = "2021"
|
|
|
|
|
homepage = "https://starship.rs"
|
|
|
|
|
# Keep `/` in front of `README.md` to exclude localized readmes
|
2022-03-09 09:05:02 +01:00
|
|
|
|
include = [
|
|
|
|
|
"src/**/*",
|
|
|
|
|
"/starship.exe.manifest",
|
|
|
|
|
"build.rs",
|
|
|
|
|
"Cross.toml",
|
|
|
|
|
"LICENSE",
|
|
|
|
|
"/README.md",
|
|
|
|
|
"docs/.vuepress/public/presets/toml/",
|
|
|
|
|
]
|
2019-10-04 15:30:46 +02:00
|
|
|
|
keywords = ["prompt", "shell", "bash", "fish", "zsh"]
|
2022-01-20 09:32:09 +01:00
|
|
|
|
license = "ISC"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
repository = "https://github.com/starship/starship"
|
2022-03-12 22:23:24 +01: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 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
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
[features]
|
2022-01-14 13:22:36 +01:00
|
|
|
|
default = ["battery"]
|
2021-11-09 12:35:45 +01:00
|
|
|
|
battery = ["starship-battery"]
|
2020-03-15 02:07:34 +01:00
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[dependencies]
|
2022-01-20 09:32:09 +01:00
|
|
|
|
ansi_term = "0.12.1"
|
2022-03-07 08:10:39 +01:00
|
|
|
|
byte-unit = "4.0.14"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
chrono = "0.4.19"
|
2022-03-08 17:38:40 +01:00
|
|
|
|
clap = { version = "3.1.6", features = ["derive", "cargo", "unicode"] }
|
2022-03-03 12:10:29 +01:00
|
|
|
|
clap_complete = "3.1.1"
|
2021-07-04 21:32:58 +02:00
|
|
|
|
directories-next = "2.0.0"
|
2022-02-24 00:32:35 +01:00
|
|
|
|
dunce = "1.0.2"
|
2022-03-14 21:40:05 +01:00
|
|
|
|
gethostname = "0.2.3"
|
2021-12-02 08:05:38 +01:00
|
|
|
|
git2 = { version = "0.13.25", default-features = false }
|
2022-01-20 09:32:09 +01:00
|
|
|
|
indexmap = { version = "1.8.0", features = ["serde"] }
|
2022-01-30 21:31:26 +01:00
|
|
|
|
local_ipaddress = "0.1.3"
|
2021-01-27 06:19:27 +01:00
|
|
|
|
log = { version = "0.4.14", features = ["std"] }
|
2022-02-07 08:06:17 +01:00
|
|
|
|
notify-rust = "4.5.6"
|
2022-03-05 12:05:14 +01:00
|
|
|
|
once_cell = "1.10.0"
|
2022-03-08 22:54:02 +01:00
|
|
|
|
open = "2.1.1"
|
2022-02-07 15:28:42 +01:00
|
|
|
|
os_info = "3.2.0"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
path-slash = "0.1.4"
|
2020-12-20 18:24:28 +01:00
|
|
|
|
pest = "2.1.3"
|
|
|
|
|
pest_derive = "2.1.0"
|
2021-02-24 06:18:17 +01:00
|
|
|
|
quick-xml = "0.22.0"
|
2022-02-15 08:45:02 +01:00
|
|
|
|
rand = "0.8.5"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
rayon = "1.5.1"
|
2022-03-09 14:24:28 +01:00
|
|
|
|
regex = "1.5.5"
|
2022-02-22 09:06:29 +01:00
|
|
|
|
rust-ini = "0.18.0"
|
2022-02-22 08:05:32 +01:00
|
|
|
|
semver = "1.0.6"
|
2022-01-26 18:08:20 +01:00
|
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
2022-02-14 15:52:06 +01:00
|
|
|
|
serde_json = "1.0.79"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
sha-1 = "0.10.0"
|
2022-02-26 17:34:48 +01:00
|
|
|
|
shadow-rs = "0.9.0"
|
2022-01-20 09:32:09 +01: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 }
|
|
|
|
|
starship_module_config_derive = { version = "0.2.1", path = "starship_module_config_derive" }
|
2021-04-06 22:12:37 +02:00
|
|
|
|
strsim = "0.10.0"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
sys-info = "0.9.1"
|
|
|
|
|
terminal_size = "0.1.17"
|
|
|
|
|
toml = { version = "0.5.8", features = ["preserve_order"] }
|
2022-02-01 09:37:43 +01:00
|
|
|
|
toml_edit = "0.13.4"
|
2022-02-07 15:29:38 +01:00
|
|
|
|
unicode-segmentation = "1.9.0"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
unicode-width = "0.1.9"
|
|
|
|
|
urlencoding = "2.1.0"
|
|
|
|
|
versions = "4.0.0"
|
2022-01-25 08:57:32 +01:00
|
|
|
|
which = "4.2.4"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
yaml-rust = "0.4.5"
|
2021-01-22 20:14:51 +01:00
|
|
|
|
|
2022-03-17 18:07:08 +01:00
|
|
|
|
process_control = { version = "3.3.0", features = ["crossbeam-channel"] }
|
2019-10-04 15:30:46 +02:00
|
|
|
|
|
2022-02-07 15:28:17 +01:00
|
|
|
|
shell-words = "1.1.0"
|
2020-03-15 02:07:34 +01:00
|
|
|
|
|
2020-07-13 23:55:42 +02:00
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-01-20 09:32:09 +01:00
|
|
|
|
winapi = { version = "0.3.9", features = ["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]
|
2022-02-26 17:34:48 +01:00
|
|
|
|
shadow-rs = "0.9.0"
|
2021-01-22 20:14:51 +01:00
|
|
|
|
|
2022-02-20 18:12:40 +01:00
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
|
winres = "0.1.12"
|
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[dev-dependencies]
|
2021-12-13 08:05:49 +01:00
|
|
|
|
mockall = "0.11"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
tempfile = "3.2.0"
|
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"
|