toolconfig 2026.10.2

EditorConfig, extended to your tools: generate .editorconfig and native tool configuration from TOML or Pkl
# 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.98"
name = "toolconfig"
version = "2026.10.2"
authors = ["Mathematic Inc."]
build = "build.rs"
include = [
    "Cargo.lock",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "build.rs",
    "docs/**",
    "examples/**",
    "schema/**",
    "src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "EditorConfig, extended to your tools: generate .editorconfig and native tool configuration from TOML or Pkl"
readme = "README.md"
keywords = [
    "editorconfig",
    "configuration",
    "formatter",
    "linter",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/mathematic-inc/toolconfig"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/toolconfig-{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/toolconfig-{ version }-{ target }.zip"
pkg-fmt = "zip"

[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/toolconfig-{ version }-{ target }.zip"
pkg-fmt = "zip"

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

[dependencies.anyhow]
version = "1.0.104"

[dependencies.base64]
version = "0.23.1"

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

[dependencies.ctrlc]
version = "3.5.2"
features = ["termination"]

[dependencies.dirs]
version = "7.0.0"

[dependencies.ec4rs]
version = "1.2.0"

[dependencies.fs2]
version = "0.4.3"

[dependencies.ignore]
version = "0.4.33"

[dependencies.notify]
version = "8.2.1"

[dependencies.pklr]
version = "=5.2.2"

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

[dependencies.serde_json]
version = "1.0.154"
features = [
    "float_roundtrip",
    "preserve_order",
]

[dependencies.sha2]
version = "0.11.1"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.toml]
version = "1.1.8"
features = ["preserve_order"]

[dependencies.toml_edit]
version = "0.25.17"

[dev-dependencies.insta]
version = "1.49.0"

[build-dependencies.serde_json]
version = "1.0.154"

[build-dependencies.sha2]
version = "0.11.1"

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

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
]

[lints.rust]
unreachable_pub = "warn"

[profile.release]
lto = "thin"
strip = "debuginfo"