# 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.85"
name = "tla-cli"
version = "0.1.2"
build = false
exclude = [
    "target/",
    "tools/",
    "**/*.jar",
    "**/*.snap.new",
    "**/*.snap.old",
    ".idea/",
    ".DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TLA+ CLI for linting, formatting, and TLC checks"
readme = "README.md"
keywords = [
    "tla",
    "tla+",
    "cli",
    "lint",
    "tlc",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/younes-io/tla"

[lib]
name = "tla_cli"
path = "src/lib.rs"

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

[[test]]
name = "lint"
path = "tests/lint.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.home]
version = "=0.5.11"

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

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.tree-sitter]
version = "0.22"

[dependencies.tree-sitter-tlaplus]
version = "1.5.0"

[dependencies.walkdir]
version = "2"

[dependencies.which]
version = "5"

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