# 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"
name = "re-x"
version = "0.1.0"
authors = ["re-x contributors"]
build = false
exclude = [
    ".github/",
    ".claude/",
    "skills/",
    "benches/",
    "AGENTS.md",
    "CONTRIBUTING.md",
    "SECURITY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-native regex CLI — Test, validate, explain. Built for coding agents."
readme = "README.md"
keywords = [
    "regex",
    "cli",
    "ai",
    "mcp",
    "testing",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/re-x-ai/re-x"

[features]
cli = ["clap"]
default = [
    "cli",
    "mcp",
]
full = [
    "cli",
    "mcp",
]
mcp = []

[[bin]]
name = "re-x"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.fancy-regex]
version = "0.14"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"
