2019-10-04 15:30:46 +02:00
|
|
|
|
[package]
|
|
|
|
|
name = "starship"
|
2022-10-15 03:40:28 +02:00
|
|
|
|
version = "1.11.0"
|
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",
|
2022-06-19 10:33:42 +02:00
|
|
|
|
"media/icon.ico",
|
2022-03-09 09:05:02 +01:00
|
|
|
|
"build.rs",
|
|
|
|
|
"LICENSE",
|
|
|
|
|
"/README.md",
|
|
|
|
|
"docs/.vuepress/public/presets/toml/",
|
2022-04-18 17:42:47 +02:00
|
|
|
|
".github/config-schema.json",
|
2022-03-09 09:05:02 +01:00
|
|
|
|
]
|
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
|
|
|
|
# Note: MSRV is only intended as a hint, and only the latest version is officially supported in starship.
|
2022-10-30 11:17:54 +01:00
|
|
|
|
rust-version = "1.64"
|
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-10-15 03:39:31 +02:00
|
|
|
|
default = ["battery", "notify", "git-repository-max-perf"]
|
2021-11-09 12:35:45 +01:00
|
|
|
|
battery = ["starship-battery"]
|
2022-04-01 17:14:05 +02:00
|
|
|
|
config-schema = ["schemars"]
|
2022-04-12 12:07:36 +02:00
|
|
|
|
notify = ["notify-rust"]
|
2020-03-15 02:07:34 +01:00
|
|
|
|
|
2022-10-15 03:39:31 +02:00
|
|
|
|
# Enables most of the `max-performace` features of the `git_repository` module for better performance.
|
|
|
|
|
# This can be more difficult to build in some conditions and requires cmake.
|
|
|
|
|
git-repository-max-perf = ["git-features/zlib-ng", "git-repository/fast-sha1"]
|
|
|
|
|
# Slower than `git-repository-max-perf`, but better than the default.
|
|
|
|
|
# Unlike `git-repository-max-perf` this does not require cmake and allows dynamic zlib linking.
|
|
|
|
|
git-repository-faster = ["git-features/zlib-stock", "git-repository/fast-sha1"]
|
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[dependencies]
|
2022-08-15 09:05:36 +02:00
|
|
|
|
chrono = { version = "0.4.22", features = ["clock", "std"] }
|
2022-11-05 14:31:14 +01:00
|
|
|
|
clap = { version = "4.0.19", features = ["derive", "cargo", "unicode"] }
|
2022-10-18 23:58:07 +02:00
|
|
|
|
clap_complete = "4.0.3"
|
2022-03-24 20:06:24 +01:00
|
|
|
|
dirs-next = "2.0.0"
|
2022-10-07 01:59:27 +02:00
|
|
|
|
dunce = "1.0.3"
|
2022-10-29 00:20:23 +02:00
|
|
|
|
gethostname = "0.4.0"
|
2022-10-15 03:39:31 +02:00
|
|
|
|
git-features = { version = "0.23.0", optional = true }
|
|
|
|
|
# default feature restriction addresses https://github.com/starship/starship/issues/4251
|
|
|
|
|
git-repository = { version = "0.25.0", default-features = false, features = ["max-performance-safe"] }
|
2022-06-22 10:07:44 +02:00
|
|
|
|
indexmap = { version = "1.9.1", features = ["serde"] }
|
2022-01-30 21:31:26 +01:00
|
|
|
|
local_ipaddress = "0.1.3"
|
2022-10-04 23:27:11 +02:00
|
|
|
|
log = { version = "0.4.17", features = ["std"] }
|
2022-04-12 12:07:36 +02: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
|
2022-09-26 13:59:45 +02:00
|
|
|
|
notify-rust = { version = "4.5.10", optional = true }
|
2022-09-04 18:44:54 +02:00
|
|
|
|
nu-ansi-term = "0.46.0"
|
2022-10-29 12:47:39 +02:00
|
|
|
|
once_cell = "1.16.0"
|
2022-09-20 15:37:04 +02:00
|
|
|
|
open = "3.0.3"
|
2022-09-20 15:03:48 +02:00
|
|
|
|
os_info = "3.5.1"
|
2022-08-08 09:05:37 +02:00
|
|
|
|
path-slash = "0.2.1"
|
2022-11-05 12:44:36 +01:00
|
|
|
|
pest = "2.4.1"
|
|
|
|
|
pest_derive = "2.4.1"
|
2022-10-23 14:47:17 +02:00
|
|
|
|
quick-xml = "0.26.0"
|
2022-02-15 08:45:02 +01:00
|
|
|
|
rand = "0.8.5"
|
2022-05-24 11:06:08 +02:00
|
|
|
|
rayon = "1.5.3"
|
2022-11-05 21:23:57 +01:00
|
|
|
|
regex = "1.7.0"
|
2022-02-22 09:06:29 +01:00
|
|
|
|
rust-ini = "0.18.0"
|
2022-09-18 17:24:12 +02:00
|
|
|
|
semver = "1.0.14"
|
2022-10-21 19:30:16 +02:00
|
|
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
2022-10-20 01:46:23 +02:00
|
|
|
|
serde_json = "1.0.87"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
sha-1 = "0.10.0"
|
2022-10-24 03:48:12 +02:00
|
|
|
|
shadow-rs = { version = "0.17.1", default-features = false }
|
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 }
|
2021-04-06 22:12:37 +02:00
|
|
|
|
strsim = "0.10.0"
|
2022-11-03 01:38:05 +01:00
|
|
|
|
systemstat = "=0.2.2"
|
2022-11-05 16:55:44 +01:00
|
|
|
|
terminal_size = "0.2.2"
|
2022-04-15 23:43:36 +02:00
|
|
|
|
toml = { version = "0.5.9", features = ["preserve_order"] }
|
2022-10-21 23:15:36 +02:00
|
|
|
|
toml_edit = "0.15.0"
|
2022-09-18 17:23:45 +02:00
|
|
|
|
unicode-segmentation = "1.10.0"
|
2022-09-18 18:35:39 +02:00
|
|
|
|
unicode-width = "0.1.10"
|
2022-09-07 11:23:05 +02:00
|
|
|
|
urlencoding = "2.1.2"
|
2022-04-23 21:05:33 +02:00
|
|
|
|
versions = "4.1.0"
|
2022-09-01 11:05:29 +02:00
|
|
|
|
which = "4.3.0"
|
2022-01-20 09:32:09 +01:00
|
|
|
|
yaml-rust = "0.4.5"
|
2021-01-22 20:14:51 +01:00
|
|
|
|
|
2022-09-14 12:08:44 +02:00
|
|
|
|
process_control = { version = "4.0.0", features = ["crossbeam-channel"] }
|
2019-10-04 15:30:46 +02:00
|
|
|
|
|
2022-05-04 22:40:44 +02:00
|
|
|
|
guess_host_triple = "0.1.3"
|
2022-10-11 23:09:07 +02:00
|
|
|
|
home = "0.5.4"
|
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]
|
2022-10-03 12:03:04 +02:00
|
|
|
|
version = "0.8.11"
|
2022-04-01 17:14:05 +02:00
|
|
|
|
optional = true
|
|
|
|
|
features = ["preserve_order", "indexmap"]
|
|
|
|
|
|
2020-07-13 23:55:42 +02:00
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-04-01 17:47:49 +02:00
|
|
|
|
deelevate = "0.2.0"
|
2020-07-13 23:55:42 +02:00
|
|
|
|
|
2022-04-21 20:59:00 +02:00
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
2022-10-25 01:29:36 +02:00
|
|
|
|
version = "0.43.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-13 23:55:42 +02:00
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2022-08-15 14:08:23 +02:00
|
|
|
|
nix = { version = "0.25.0", default-features = false, features = ["feature", "fs", "user"] }
|
2020-07-13 23:55:42 +02:00
|
|
|
|
|
2021-01-22 20:14:51 +01:00
|
|
|
|
[build-dependencies]
|
2022-10-24 03:48:12 +02:00
|
|
|
|
shadow-rs = { version = "0.17.1", default-features = false }
|
2022-10-07 01:59:27 +02:00
|
|
|
|
dunce = "1.0.3"
|
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-10-05 13:25:39 +02:00
|
|
|
|
tempfile = "3.3.0"
|
2019-10-04 15:30:46 +02: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
|
|
|
|
|
2019-10-04 15:30:46 +02:00
|
|
|
|
[[bin]]
|
|
|
|
|
name = "starship"
|
|
|
|
|
path = "src/main.rs"
|