# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80" name = "starship" version = "1.21.1" authors = ["Starship Contributors"] build = "build.rs" include = [ "src/**/*", "/starship.exe.manifest", "media/icon.ico", "build.rs", "LICENSE", "/README.md", "docs/public/presets/toml/", ".github/config-schema.json", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️ """ homepage = "https://starship.rs" documentation = "https://starship.rs/guide/" readme = "README.md" keywords = [ "prompt", "shell", "bash", "fish", "zsh", ] categories = ["command-line-utilities"] license = "ISC" repository = "https://github.com/starship/starship" [profile.release] lto = true codegen-units = 1 strip = true [lib] name = "starship" path = "src/lib.rs" [[bin]] name = "starship" path = "src/main.rs" [dependencies.chrono] version = "0.4.38" features = [ "clock", "std", "wasmbind", ] default-features = false [dependencies.clap] version = "4.5.20" features = [ "derive", "cargo", "unicode", ] [dependencies.clap_complete] version = "4.5.33" [dependencies.dirs] version = "5.0.1" [dependencies.dunce] version = "1.0.5" [dependencies.gix] version = "0.66.0" features = [ "max-performance-safe", "revision", ] default-features = false [dependencies.gix-features] version = "0.38.2" optional = true [dependencies.guess_host_triple] version = "0.1.4" [dependencies.home] version = "0.5.9" [dependencies.indexmap] version = "2.6.0" features = ["serde"] [dependencies.log] version = "0.4.22" features = ["std"] [dependencies.notify-rust] version = "4.11.3" optional = true [dependencies.nu-ansi-term] version = "0.50.1" [dependencies.open] version = "5.3.0" [dependencies.os_info] version = "3.8.2" [dependencies.path-slash] version = "0.2.1" [dependencies.pest] version = "2.7.14" [dependencies.pest_derive] version = "2.7.14" [dependencies.process_control] version = "5.0.0" [dependencies.quick-xml] version = "0.36.2" [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.10.0" [dependencies.regex] version = "1.11.0" features = [ "perf", "std", "unicode-perl", ] default-features = false [dependencies.rust-ini] version = "0.21.1" [dependencies.schemars] version = "0.8.21" features = [ "preserve_order", "indexmap2", ] optional = true [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_json] version = "1.0.129" [dependencies.sha1] version = "0.10.6" [dependencies.shadow-rs] version = "0.35.1" default-features = false [dependencies.shell-words] version = "1.1.0" [dependencies.starship-battery] version = "0.10.0" optional = true [dependencies.strsim] version = "0.11.1" [dependencies.systemstat] version = "=0.2.3" [dependencies.terminal_size] version = "0.4.0" [dependencies.toml] version = "0.8.19" features = ["preserve_order"] [dependencies.toml_edit] version = "0.22.22" [dependencies.unicode-segmentation] version = "1.12.0" [dependencies.unicode-width] version = "0.2.0" [dependencies.urlencoding] version = "2.1.3" [dependencies.versions] version = "6.3.2" [dependencies.which] version = "6.0.3" [dependencies.whoami] version = "1.5.2" default-features = false [dependencies.yaml-rust2] version = "0.9.0" [dev-dependencies.mockall] version = "0.13.0" [dev-dependencies.tempfile] version = "3.13.0" [build-dependencies.dunce] version = "1.0.5" [build-dependencies.shadow-rs] version = "0.35.1" default-features = false [features] battery = ["starship-battery"] config-schema = ["schemars"] default = [ "battery", "notify", "gix-max-perf", ] gix-faster = [ "gix-features/zlib-stock", "gix/fast-sha1", ] gix-max-perf = [ "gix-features/zlib-ng", "gix/fast-sha1", ] notify = ["notify-rust"] [target."cfg(not(windows))".dependencies.nix] version = "0.29.0" features = [ "feature", "fs", "user", ] default-features = false [target."cfg(windows)".dependencies.deelevate] version = "0.2.0" [target."cfg(windows)".dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_UI_Shell", "Win32_Security", "Win32_System_Threading", "Win32_Storage_FileSystem", ] [target."cfg(windows)".build-dependencies.winres] version = "0.1.12"