# 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 = "2024"
rust-version = "1.88"
name = "mise"
version = "2025.12.7"
authors = ["Jeff Dickey (@jdx)"]
build = "build.rs"
include = [
    "/Cargo.lock",
    "/LICENSE",
    "/README.md",
    "/build.rs",
    "/completions/*",
    "/minisign.pub",
    "/registry.toml",
    "/settings.toml",
    "/zipsign.pub",
    "/src/**/*.rs",
    "/src/assets/**",
    "/src/plugins/core/assets/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The front-end to your dev env"
homepage = "https://mise.jdx.dev"
documentation = "https://mise.jdx.dev"
readme = "README.md"
keywords = ["mise"]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/jdx/mise"

[package.metadata.binstall]
bin-dir = "mise/bin/mise"

[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-macos-arm64{ archive-suffix }"

[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-macos-x64{ archive-suffix }"

[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-linux-arm64{ archive-suffix }"

[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-linux-x64{ archive-suffix }"

[package.metadata.binstall.overrides.armv7-unknown-linux-gnueabihf]
pkg-url = "{ repo }/releases/download/v{ version }/mise-v{version}-linux-armv7{ archive-suffix }"

[package.metadata.cargo-machete]
ignored = [
    "aws-lc-rs",
    "built",
    "cfg_aliases",
    "openssl",
    "rmcp-macros",
]

[features]
default = [
    "native-tls",
    "vfox/vendored-lua",
    "self_update",
]
native-tls = [
    "gix/blocking-http-transport-reqwest-native-tls",
    "reqwest/native-tls",
    "sigstore-verification/native-tls",
    "ubi/native-tls",
    "vfox/native-tls",
    "xx/native-tls",
]
rustls = [
    "gix/blocking-http-transport-reqwest-rust-tls",
    "reqwest/rustls-tls",
    "self_update/rustls",
    "sigstore-verification/rustls",
    "ubi/rustls-tls",
    "vfox/rustls",
    "xx/rustls",
]
rustls-native-roots = [
    "gix/blocking-http-transport-reqwest-rust-tls",
    "reqwest/rustls-tls-native-roots",
    "self_update/rustls",
    "sigstore-verification/rustls-native-roots",
    "ubi/rustls-tls-native-roots",
    "vfox/rustls-native-roots",
    "xx/rustls-native-roots",
]

[[bin]]
name = "mise"
path = "src/main.rs"

[dependencies.age]
version = "0.11"
features = ["ssh"]

[dependencies.anyhow]
version = "1.0.100"

[dependencies.aqua-registry]
version = "2025.12.7"

[dependencies.async-backtrace]
version = "0.2"

[dependencies.async-trait]
version = "0.1"

[dependencies.aws-lc-rs]
version = "1"
features = ["bindgen"]
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1"

[dependencies.bzip2]
version = "0.6"

[dependencies.calm_io]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.ci_info]
version = "0.14"

[dependencies.clap]
version = "4"
features = [
    "env",
    "derive",
    "string",
]

[dependencies.color-eyre]
version = "0.6"

[dependencies.color-print]
version = "0.3"

[dependencies.comfy-table]
version = "7.1.3"

[dependencies.confique]
version = "0.3"
default-features = false

[dependencies.console]
version = "0.16"

[dependencies.contracts]
version = "0.6"

[dependencies.dashmap]
version = "6"

[dependencies.demand]
version = "1"

[dependencies.digest]
version = "0.10.7"

[dependencies.dotenvy]
version = "0.15"

[dependencies.duct]
version = "0.13"

[dependencies.eyre]
version = "0.6"

[dependencies.filetime]
version = "0.2"

[dependencies.flate2]
version = "1"

[dependencies.fslock]
version = "0.2.1"

[dependencies.fuzzy-matcher]
version = "0.3"

[dependencies.gix]
version = "<1"
features = ["worktree-mutation"]

[dependencies.glob]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.heck]
version = "0.5"

[dependencies.homedir]
version = "0.3"

[dependencies.humansize]
version = "2"

[dependencies.ignore]
version = "0.4"
features = []

[dependencies.indenter]
version = "0.3"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.indicatif]
version = "0.18"
features = ["improved_unicode"]

[dependencies.indoc]
version = "2"

[dependencies.itertools]
version = "0.14"

[dependencies.jiff]
version = "0.2"

[dependencies.junction]
version = "1"

[dependencies.log]
version = "0.4"

[dependencies.md-5]
version = "0.10"

[dependencies.minisign-verify]
version = "0.2"

[dependencies.netrc-rs]
version = "0.1"

[dependencies.num_cpus]
version = "1"

[dependencies.number_prefix]
version = "0.4"

[dependencies.once_cell]
version = "1"

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.os-release]
version = "0.1"

[dependencies.path-absolutize]
version = "3"
features = ["unsafe_cache"]

[dependencies.petgraph]
version = "0.8"

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "gzip",
    "zstd",
    "charset",
    "http2",
    "socks",
    "macos-system-configuration",
]
default-features = false

[dependencies.rmcp]
version = "0.3"
features = [
    "server",
    "transport-io",
    "schemars",
]

[dependencies.rmcp-macros]
version = "0.3"

[dependencies.rmp-serde]
version = "1"

[dependencies.rops]
version = "0.1"
features = [
    "aes-gcm",
    "sha2",
    "yaml",
    "json",
    "age",
]
default-features = false

[dependencies.serde]
version = "1"

[dependencies.serde_derive]
version = "1"

[dependencies.serde_ignored]
version = "0.1"

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.shell-escape]
version = "0.1"

[dependencies.shell-words]
version = "1"

[dependencies.signal-hook]
version = "0.3"

[dependencies.sigstore-verification]
version = "0.1"
default-features = false

[dependencies.siphasher]
version = "1"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.sys-info]
version = "0.9"

[dependencies.tabled]
version = "0.20"
features = ["ansi"]

[dependencies.taplo]
version = "0.14"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.tera]
version = "1"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-retry]
version = "0.3"

[dependencies.toml]
version = "0.8"
features = ["parse"]

[dependencies.toml_edit]
version = "0.22"
features = ["parse"]

[dependencies.ubi]
version = "0.8"
default-features = false

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.usage-lib]
version = "2"
features = [
    "clap",
    "docs",
]

[dependencies.versions]
version = "6"
features = ["serde"]

[dependencies.vfox]
version = "2025.12.7"
default-features = false

[dependencies.walkdir]
version = "2"

[dependencies.which]
version = "7"

[dependencies.xx]
version = "2"
features = ["glob"]
default-features = false

[dependencies.xz2]
version = "0.1"

[dependencies.zip]
version = "3"
features = ["deflate"]
default-features = false

[dependencies.zstd]
version = "0.13"

[dev-dependencies.clap-sort]
version = "1"

[dev-dependencies.ctor]
version = "0.4"

[dev-dependencies.insta]
version = "1"
features = [
    "filters",
    "json",
]

[dev-dependencies.mockito]
version = "1.6.1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.test-log]
version = "0.2"

[build-dependencies.built]
version = "0.8"
features = ["chrono"]

[build-dependencies.cfg_aliases]
version = "0.2"

[build-dependencies.heck]
version = "0.5"

[build-dependencies.indexmap]
version = "2"

[build-dependencies.serde_yaml]
version = "0.9"

[build-dependencies.toml]
version = "0.8"

[target."cfg(unix)".dependencies.exec]
version = "0.3"

[target."cfg(unix)".dependencies.nix]
version = "0.30"
features = [
    "signal",
    "user",
]

[target."cfg(unix)".dependencies.self_update]
version = "0.42"
features = [
    "archive-tar",
    "compression-flate2",
    "signatures",
    "rustls",
]
optional = true
default-features = false

[target."cfg(windows)".dependencies.self_update]
version = "0.42"
features = [
    "archive-zip",
    "compression-zip-deflate",
    "signatures",
    "rustls",
]
optional = true
default-features = false

[target."cfg(windows)".dependencies.sevenz-rust]
version = "0.6"

[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
    "consoleapi",
    "minwindef",
]

[lints.clippy]
borrowed_box = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]

[profile.dev.package.backtrace]
opt-level = 3

[profile.release]

[profile.serious]
lto = true
inherits = "release"
