libmagic-rs 0.7.0

A pure-Rust implementation of libmagic for file type identification
Documentation

# Rust toolchain is declared "latest" here but the concrete version
# lives in `mise.lock` (see `[[tools.rust]] version = ...`).
# `mise.lock` is committed to the repo so every developer and CI run
# resolves to the same Rust version regardless of when they install.
# When bumping rustc: run `mise upgrade rust`, then commit the
# updated `mise.lock`. Review finding D-M1 clarified that mise.lock
# is the reproducibility source of truth, not mise.toml or
# rust-toolchain.toml.
[tools]
rust                        = { version = "latest", components = "llvm-tools,cargo,rustfmt,clippy", profile = "default", targets = "aarch64-apple-darwin,aarch64-unknown-linux-gnu,aarch64-pc-windows-msvc,x86_64-apple-darwin,x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl,x86_64-pc-windows-msvc" }
cargo-binstall              = "1.19.1"
cargo-insta                 = "1.47.2"
"cargo:cargo-audit"         = "0.22.1"
"cargo:cargo-deny"          = "0.19.6"
"cargo:cargo-dist"          = "0.31.0"
"cargo:cargo-llvm-cov"      = "0.8.7"
"cargo:cargo-nextest"       = "0.9.136"
"cargo:mdbook"              = "0.5.3"
"cargo:mdbook-linkcheck"    = "0.7.7"
"cargo:mdbook-tabs"         = "0.3.4"
"cargo:mdbook-mermaid"      = "0.17.0"
"cargo:mdbook-toc"          = "0.15.3"
"cargo:mdbook-admonish"     = "1.20.0"
"cargo:mdbook-open-on-gh"   = "3.0.0"
"cargo:mdbook-i18n-helpers" = "0.4.0"
just                        = "1.51.0"
python                      = "latest"
"cargo:cargo-outdated"      = "0.19.0"
"cargo:cargo-release"       = "1.1.2"
"cargo:cargo-auditable"     = "0.7.4"
"cargo:cargo-cyclonedx"     = "0.5.9"
"pipx:mdformat"             = { version = "1.0.0", uvx_args = "--with mdformat-gfm --with mdformat-config --with mdformat-footnote --with mdformat-front-matters --with mdformat-simple-breaks --with mdformat-web --with mdformat-wikilink --with mdformat-gfm-alerts --with mdformat-toc" }
actionlint                  = "1.7.12"
markdownlint-cli2           = "0.22.1"
"cargo:cargo-machete"       = "0.9.2"
"cargo:git-cliff"           = "2.13.1"
scorecard                   = "5.5.0"
"cargo:release-plz"         = "0.3.158"
"pipx:pre-commit"           = "latest"
bun                         = "1.3.14"
shellcheck                  = "0.11.0"

# Many of these settings are defaults, but we are explicit in case they change in the future and to make it clear to users what is enabled.
[settings]
activate_aggressive                 = true
idiomatic_version_file_enable_tools = [ "python", "rust", "bun" ]
env_cache                           = true
exec_auto_install                   = true
github_attestations                 = true
lockfile                            = true
pin                                 = true
slsa                                = true

[settings.npm]
package_manager = "bun"

[settings.pipx]
uvx = true