thread-rule-engine 0.1.0

Rule-based scanning and transformation engine for Thread
Documentation
# 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.89"
name = "thread-rule-engine"
version = "0.1.0"
build = false
include = [
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    "CONTRIBUTORS_LICENSE_AGREEMENT.md",
    "LICENSE.md",
    "README.md",
    "VENDORED.md",
    "examples/**",
    "sbom.spdx",
    "src/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rule-based scanning and transformation engine for Thread"
readme = "README.md"
keywords = [
    "ast",
    "codemod",
    "rewrite",
    "rules",
    "search",
]
categories = [
    "artificial-intelligence",
    "command-line-utilities",
    "development-tools",
    "parser-implementations",
    "text-processing",
]
license = "AGPL-3.0-or-later AND MIT"
repository = "https://github.com/knitli/thread"

[features]
default = ["mimalloc"]
mimalloc = ["dep:mimalloc"]
worker = [
    "thread-ast-engine/worker",
    "thread-utilities/worker",
]

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

[dependencies.bit-set]
version = "0.8.0"

[dependencies.globset]
version = "0.4.16"

[dependencies.mimalloc]
version = "0.1.48"
features = ["v3"]
optional = true

[dependencies.regex]
version = "1.12.2"

[dependencies.schemars]
version = "1.2.0"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yaml]
version = "0.0.12"
package = "serde_yml"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.thread-ast-engine]
version = "0.1.0"
features = [
    "matching",
    "parsing",
]
default-features = false

[dependencies.thread-utilities]
version = "0.1.3"
features = [
    "hashers",
    "simd",
]
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.thread-ast-engine]
version = "0.1.0"
features = [
    "matching",
    "parsing",
]
default-features = false

[dev-dependencies.thread-language]
version = "0.1.0"
features = ["all-parsers"]
default-features = false

[dev-dependencies.tree-sitter]
version = ">=0.25.0"

[dev-dependencies.tree-sitter-javascript]
version = "0.25.0"

[dev-dependencies.tree-sitter-python]
version = "0.25.0"

[dev-dependencies.tree-sitter-rust]
version = "0.24.0"

[dev-dependencies.tree-sitter-typescript]
version = "0.23.2"

[build-dependencies.cc]
version = "1.2.30"