2019-10-04 22:30:46 +09:00
|
|
|
[package]
|
|
|
|
|
name = "starship"
|
2025-04-27 17:52:14 +02:00
|
|
|
version = "1.23.0"
|
2021-11-09 22:30:28 +01:00
|
|
|
authors = ["Starship Contributors"]
|
2022-01-20 02:32:09 -06:00
|
|
|
build = "build.rs"
|
|
|
|
|
categories = ["command-line-utilities"]
|
2019-10-04 22:30:46 +09:00
|
|
|
documentation = "https://starship.rs/guide/"
|
2025-03-09 19:24:45 +01:00
|
|
|
edition = "2024"
|
2022-01-20 02:32:09 -06:00
|
|
|
homepage = "https://starship.rs"
|
|
|
|
|
# Keep `/` in front of `README.md` to exclude localized readmes
|
2022-03-09 10:05:02 +02:00
|
|
|
include = [
|
|
|
|
|
"src/**/*",
|
|
|
|
|
"/starship.exe.manifest",
|
2022-06-19 03:33:42 -05:00
|
|
|
"media/icon.ico",
|
2022-03-09 10:05:02 +02:00
|
|
|
"build.rs",
|
|
|
|
|
"LICENSE",
|
|
|
|
|
"/README.md",
|
2024-03-24 08:03:55 +01:00
|
|
|
"docs/public/presets/toml/",
|
2022-04-18 17:42:47 +02:00
|
|
|
".github/config-schema.json",
|
2022-03-09 10:05:02 +02:00
|
|
|
]
|
2019-10-04 22:30:46 +09:00
|
|
|
keywords = ["prompt", "shell", "bash", "fish", "zsh"]
|
2022-01-20 02:32:09 -06:00
|
|
|
license = "ISC"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
repository = "https://github.com/starship/starship"
|
2022-03-13 06:23:24 +09:00
|
|
|
# Note: MSRV is only intended as a hint, and only the latest version is officially supported in starship.
|
2025-03-09 19:24:45 +01:00
|
|
|
rust-version = "1.85"
|
2019-10-04 22:30:46 +09:00
|
|
|
description = """
|
2020-02-12 21:46:00 -05:00
|
|
|
The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
2019-10-04 22:30:46 +09:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
[features]
|
2025-04-12 11:44:44 +02:00
|
|
|
default = ["battery", "notify"]
|
2021-11-09 11:35:45 +00:00
|
|
|
battery = ["starship-battery"]
|
2022-04-01 17:14:05 +02:00
|
|
|
config-schema = ["schemars"]
|
2022-04-12 06:07:36 -04:00
|
|
|
notify = ["notify-rust"]
|
2020-03-15 02:07:34 +01:00
|
|
|
|
2019-10-04 22:30:46 +09:00
|
|
|
[dependencies]
|
2025-04-29 13:41:49 +00:00
|
|
|
chrono = { version = "0.4.41", default-features = false, features = ["clock", "std", "wasmbind"] }
|
2025-04-18 21:41:03 +00:00
|
|
|
clap = { version = "4.5.37", features = ["derive", "cargo", "unicode"] }
|
2025-04-29 00:07:41 +00:00
|
|
|
clap_complete = "4.5.48"
|
2025-03-09 18:25:14 +00:00
|
|
|
clap_complete_nushell = "4.5.5"
|
2025-01-13 10:15:38 +01:00
|
|
|
dirs = "6.0.0"
|
2024-08-04 05:11:05 +00:00
|
|
|
dunce = "1.0.5"
|
2022-10-15 03:39:31 +02:00
|
|
|
# default feature restriction addresses https://github.com/starship/starship/issues/4251
|
2025-04-26 15:43:41 +02:00
|
|
|
gix = { version = "0.72.1", default-features = false, features = ["max-performance-safe", "revision", "zlib-rs", "status"] }
|
2025-04-12 14:54:04 +02:00
|
|
|
indexmap = { version = "2.9.0", features = ["serde"] }
|
2025-03-02 04:49:47 -06:00
|
|
|
jsonc-parser = { version = "0.26.2", features = ["serde"] }
|
2025-03-24 12:39:56 +00:00
|
|
|
log = { version = "0.4.27", features = ["std"] }
|
2023-03-23 02:42:46 +08:00
|
|
|
# notify-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
|
2022-04-12 06:07:36 -04:00
|
|
|
# see: https://github.com/NixOS/nixpkgs/issues/160876
|
2025-04-12 10:36:38 +00:00
|
|
|
notify-rust = { version = "4.11.7", optional = true }
|
2024-07-24 02:06:06 +00:00
|
|
|
nu-ansi-term = "0.50.1"
|
2025-01-05 19:37:11 +00:00
|
|
|
open = "5.3.2"
|
2022-11-06 14:37:58 -07:00
|
|
|
# update os module config and tests when upgrading os_info
|
2025-02-09 08:53:41 +00:00
|
|
|
os_info = "3.10.0"
|
2025-04-26 15:43:41 +02:00
|
|
|
# for efficient shared state between `git_status` and `git_metrics`, allowing parallel printing. This is for poison-free locks.
|
|
|
|
|
parking_lot = "0.12.3"
|
2022-08-08 03:05:37 -04:00
|
|
|
path-slash = "0.2.1"
|
2025-03-25 13:32:31 +00:00
|
|
|
pest = "2.8.0"
|
|
|
|
|
pest_derive = "2.8.0"
|
2024-09-28 13:41:35 +02:00
|
|
|
process_control = "5.0.0"
|
2025-04-27 10:46:38 +00:00
|
|
|
quick-xml = "0.37.5"
|
2025-04-17 16:31:17 +00:00
|
|
|
rand = "0.9.1"
|
2024-03-24 07:04:19 +00:00
|
|
|
rayon = "1.10.0"
|
2024-10-24 16:37:09 +00:00
|
|
|
regex = { version = "1.11.1", default-features = false, features = ["perf", "std", "unicode-perl"] }
|
2024-08-03 19:15:44 +00:00
|
|
|
rust-ini = "0.21.1"
|
2025-03-04 06:04:39 +00:00
|
|
|
semver = "1.0.26"
|
2025-03-10 02:14:43 +00:00
|
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
2025-03-03 11:40:35 +00:00
|
|
|
serde_json = "1.0.140"
|
2023-10-15 20:59:57 +02:00
|
|
|
sha1 = "0.10.6"
|
2025-03-19 03:27:35 +00:00
|
|
|
shadow-rs = { version = "1.1.1", default-features = false, features = ["build"] }
|
2022-01-20 02:32:09 -06: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
|
2025-03-14 18:24:10 +00:00
|
|
|
starship-battery = { version = "0.10.1", optional = true }
|
2024-04-03 01:58:21 +00:00
|
|
|
strsim = "0.11.1"
|
2024-12-14 18:34:02 +00:00
|
|
|
systemstat = "=0.2.4"
|
2025-03-09 02:00:02 +00:00
|
|
|
terminal_size = "0.4.2"
|
2025-04-29 03:45:01 +00:00
|
|
|
toml = { version = "0.8.22", features = ["preserve_order"] }
|
|
|
|
|
toml_edit = "0.22.26"
|
2024-09-28 13:41:35 +02:00
|
|
|
unicode-segmentation = "1.12.0"
|
2024-10-03 17:26:00 +02:00
|
|
|
unicode-width = "0.2.0"
|
2023-07-21 17:06:39 +00:00
|
|
|
urlencoding = "2.1.3"
|
2025-03-06 15:52:53 +09:00
|
|
|
versions = "7.0.0"
|
2025-04-12 14:54:17 +02:00
|
|
|
which = "7.0.3"
|
2025-03-24 01:39:24 +00:00
|
|
|
whoami = { version = "1.6.0", default-features = false }
|
2025-03-26 15:41:18 +00:00
|
|
|
yaml-rust2 = "0.10.1"
|
2021-01-23 03:14:51 +08:00
|
|
|
|
2024-08-24 05:25:13 +00:00
|
|
|
guess_host_triple = "0.1.4"
|
2024-12-20 20:37:10 +00:00
|
|
|
home = "0.5.11"
|
2022-02-07 15:28:17 +01:00
|
|
|
shell-words = "1.1.0"
|
2020-03-15 02:07:34 +01:00
|
|
|
|
2022-04-01 17:14:05 +02:00
|
|
|
[dependencies.schemars]
|
2025-02-25 22:38:15 +00:00
|
|
|
version = "0.8.22"
|
2022-04-01 17:14:05 +02:00
|
|
|
optional = true
|
2023-09-06 18:10:50 +09:00
|
|
|
features = ["preserve_order", "indexmap2"]
|
2022-04-01 17:14:05 +02:00
|
|
|
|
2020-07-14 00:55:42 +03:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-04-01 21:17:49 +05:30
|
|
|
deelevate = "0.2.0"
|
2020-07-14 00:55:42 +03:00
|
|
|
|
2022-04-21 20:59:00 +02:00
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
2025-03-18 18:42:33 +00:00
|
|
|
version = "0.61.0"
|
2022-04-21 20:59:00 +02:00
|
|
|
features = [
|
|
|
|
|
"Win32_Foundation",
|
|
|
|
|
"Win32_UI_Shell",
|
|
|
|
|
"Win32_Security",
|
|
|
|
|
"Win32_System_Threading",
|
|
|
|
|
"Win32_Storage_FileSystem",
|
|
|
|
|
]
|
|
|
|
|
|
2020-07-14 00:55:42 +03:00
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2024-07-25 22:17:06 +02:00
|
|
|
nix = { version = "0.29.0", default-features = false, features = ["feature", "fs", "user"] }
|
2020-07-14 00:55:42 +03:00
|
|
|
|
2021-01-23 03:14:51 +08:00
|
|
|
[build-dependencies]
|
2025-03-19 03:27:35 +00:00
|
|
|
shadow-rs = { version = "1.1.1", default-features = false, features = ["build"] }
|
2024-08-04 05:11:05 +00:00
|
|
|
dunce = "1.0.5"
|
2021-01-23 03:14:51 +08:00
|
|
|
|
2022-02-20 19:12:40 +02:00
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
|
winres = "0.1.12"
|
|
|
|
|
|
2019-10-04 22:30:46 +09:00
|
|
|
[dev-dependencies]
|
2024-11-18 05:04:16 +00:00
|
|
|
mockall = "0.13.1"
|
2025-03-19 19:25:17 +00:00
|
|
|
tempfile = "3.19.1"
|
2019-10-04 22:30:46 +09:00
|
|
|
|
2019-10-13 06:33:47 +02:00
|
|
|
[profile.release]
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
lto = true
|
2022-08-14 21:31:08 +02:00
|
|
|
strip = true
|
2019-10-13 06:33:47 +02:00
|
|
|
|
2025-04-26 15:43:41 +02:00
|
|
|
[profile.bench]
|
|
|
|
|
codegen-units = 16
|
|
|
|
|
lto = "thin"
|
|
|
|
|
strip = false
|
|
|
|
|
|
2019-10-04 22:30:46 +09:00
|
|
|
[[bin]]
|
|
|
|
|
name = "starship"
|
|
|
|
|
path = "src/main.rs"
|