# 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.91"
name = "mise"
version = "2026.7.2"
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/**",
    "/src/system/packages/brew/shim.rb",
    "/vendor/aqua-registry/LICENSE",
    "/vendor/aqua-registry/metadata.json",
    "/vendor/aqua-registry/registry.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dev tools, env vars, and tasks in one CLI"
homepage = "https://mise.en.dev"
documentation = "https://mise.en.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",
    "phf_codegen",
]

[[package.metadata.release.pre-release-replacements]]
file = "docs/installing-mise.md"
search = 'MISE_VERSION=v[0-9]+\.[0-9]+\.[0-9]+'
replace = "MISE_VERSION=v{{version}}"

[[package.metadata.release.pre-release-replacements]]
file = "docs/installing-mise.md"
search = '/download/v[0-9]+\.[0-9]+\.[0-9]+/mise-v[0-9]+\.[0-9]+\.[0-9]+-linux-x64'
replace = "/download/v{{version}}/mise-v{{version}}-linux-x64"

[features]
default = [
    "native-tls",
    "vfox/vendored-lua",
    "self_update",
]
native-tls = [
    "gix/blocking-http-transport-reqwest-native-tls",
    "reqwest/native-tls",
    "rattler/native-tls",
    "rattler_repodata_gateway/native-tls",
    "mise-sigstore/native-tls",
    "ubi/native-tls",
    "vfox/native-tls",
    "xx/native-tls",
]
rustls = [
    "gix/blocking-http-transport-reqwest-rust-tls",
    "reqwest/rustls",
    "rattler/rustls",
    "rattler_repodata_gateway/rustls",
    "mise-sigstore/rustls",
    "ubi/rustls-tls",
    "vfox/rustls",
    "xx/rustls",
]
rustls-native-roots = [
    "gix/blocking-http-transport-reqwest-rust-tls",
    "reqwest/rustls",
    "rattler/rustls",
    "rattler_repodata_gateway/rustls",
    "mise-sigstore/rustls",
    "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.aho-corasick]
version = "1"

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

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

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

[dependencies.aws-config]
version = "1.5"
features = [
    "behavior-version-latest",
    "default-https-client",
    "rt-tokio",
    "sso",
]
default-features = false

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

[dependencies.aws-sdk-s3]
version = "1"
features = [
    "behavior-version-latest",
    "default-https-client",
]
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "1"

[dependencies.bytesize]
version = "2"

[dependencies.bzip2]
version = "0.6"

[dependencies.calm_io]
version = "0.1"

[dependencies.chacha20poly1305]
version = "0.10"

[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.clx]
version = "2"

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

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

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

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

[dependencies.console]
version = "0.16"

[dependencies.contracts]
version = "0.6"

[dependencies.dashmap]
version = "6"

[dependencies.demand]
version = "2"

[dependencies.digest]
version = "0.11.0"

[dependencies.dotenvy]
version = "0.15"

[dependencies.duct]
version = "1.0"

[dependencies.expr-lang]
version = "1"

[dependencies.eyre]
version = "0.6"

[dependencies.filetime]
version = "0.2"

[dependencies.flate2]
version = "1"

[dependencies.fslock]
version = "0.2.1"

[dependencies.futures-util]
version = "0.3.32"

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

[dependencies.glob]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.heck]
version = "0.5"

[dependencies.hex]
version = "0.4"

[dependencies.homedir]
version = "0.3"

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

[dependencies.indenter]
version = "0.3"

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

[dependencies.indoc]
version = "2"

[dependencies.itertools]
version = "0.15"

[dependencies.jiff]
version = "0.2"

[dependencies.junction]
version = "2"

[dependencies.log]
version = "0.4"

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

[dependencies.miette]
version = "7"
features = ["fancy"]

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

[dependencies.mise-interactive-config]
version = "2026.6.2"

[dependencies.mise-sigstore]
version = "2026.7.0"
default-features = false

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

[dependencies.nodejs-semver]
version = "5.0"

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

[dependencies.num_cpus]
version = "1"

[dependencies.once_cell]
version = "1"

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

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

[dependencies.petgraph]
version = "0.8"

[dependencies.phf]
version = "0.13"

[dependencies.plist]
version = "1"

[dependencies.rand]
version = "0.10"

[dependencies.rattler]
version = "0.46"
default-features = false

[dependencies.rattler_conda_types]
version = "0.47"
default-features = false

[dependencies.rattler_package_streaming]
version = "0.26"
default-features = false

[dependencies.rattler_repodata_gateway]
version = "0.29"
features = ["gateway"]
default-features = false

[dependencies.rattler_solve]
version = "7"
features = ["resolvo"]
default-features = false

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

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "form",
    "gzip",
    "zstd",
    "charset",
    "http2",
    "socks",
    "system-proxy",
]
default-features = false

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

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

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

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_ignored]
version = "0.1"

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sevenz-rust2]
version = "0.20"

[dependencies.sha1]
version = "0.11"

[dependencies.sha2]
version = "0.11"

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

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

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

[dependencies.siphasher]
version = "1"

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

[dependencies.supports-hyperlinks]
version = "3"

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

[dependencies.taplo]
version = "0.14"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.tera]
version = "2"

[dependencies.tera1]
version = "1.20.1"
package = "tera"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1.0"
features = [
    "parse",
    "preserve_order",
]

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

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

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

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

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

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

[dependencies.walkdir]
version = "2"

[dependencies.which]
version = "8"

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

[dependencies.xz2]
version = "0.1"

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

[dependencies.zstd]
version = "0.13"

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

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

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

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

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

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

[build-dependencies.aqua-registry]
version = "2026.7.0"

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

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

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

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

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

[build-dependencies.phf_codegen]
version = "0.13"

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

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

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

[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "0.4"

[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "0.5"

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

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

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

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

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

[target."cfg(windows)".dependencies.zipsign-api]
version = "0.2"

[lints.clippy]
borrowed_box = "allow"

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

[profile.dev]
debug = 1

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