# 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 = "2021"
rust-version = "1.90"
name = "litcheck-lit"
version = "0.3.0"
authors = ["Paul Schoenfelder"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The implementation of litcheck's lit functionality as a library"
homepage = "https://github.com/bitwalker/litcheck"
readme = false
keywords = [
    "lit",
    "filecheck",
    "llvm",
]
categories = ["development-tools::testing"]
license = "Apache-2.0"
repository = "https://github.com/bitwalker/litcheck"

[features]
default = ["fancy-diagnostics"]
fancy-diagnostics = [
    "miette/fancy",
    "litcheck/fancy-diagnostics",
    "dep:console",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.1"
features = [
    "derive",
    "env",
    "cargo",
    "wrap_help",
]

[dependencies.console]
version = "0.16"
optional = true

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

[dependencies.intrusive-collections]
version = "0.10"

[dependencies.itertools]
version = "0.14"
features = ["use_alloc"]
default-features = false

[dependencies.litcheck]
version = "0.3.0"
package = "litcheck-core"

[dependencies.log]
version = "0.4"

[dependencies.miette]
version = "7.6"
features = ["derive"]
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.rayon]
version = "1.8"

[dependencies.regex]
version = "1.10"

[dependencies.regex-syntax]
version = "0.8"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

[dependencies.shlex]
version = "1.2"

[dependencies.smallvec]
version = "1.9"
features = [
    "union",
    "const_generics",
    "const_new",
]

[dependencies.target-lexicon]
version = "0.13"

[dependencies.tempdir]
version = "0.3"

[dependencies.thiserror]
version = "2.0"

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

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