# 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"
name = "mq-lang"
version = "0.5.29"
authors = ["Takahiro Sato <harehare1110@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core language implementation for mq query language"
homepage = "https://mqlang.org/"
readme = "README.md"
keywords = [
    "markdown",
    "jq",
    "query",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/harehare/mq"

[features]
ast-json = [
    "smallvec/serde",
    "smol_str/serde",
]
cst = ["dep:ropey"]
debugger = ["sync"]
default = ["std"]
file-io = []
std = []
sync = []

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

[[example]]
name = "extract_js_code"
path = "examples/extract_js_code.rs"

[[example]]
name = "extract_list"
path = "examples/extract_list.rs"

[[example]]
name = "extract_list1"
path = "examples/extract_list1.rs"

[[example]]
name = "extract_table"
path = "examples/extract_table.rs"

[[example]]
name = "fibonacci"
path = "examples/fibonacci.rs"

[[example]]
name = "markdown_toc"
path = "examples/markdown_toc.rs"

[[example]]
name = "snake_to_camel"
path = "examples/snake_to_camel.rs"

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

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

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.44"

[dependencies.csv]
version = "1.4"

[dependencies.dirs]
version = "6.0.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.md5]
version = "0.8.0"

[dependencies.miette]
version = "7.6.0"

[dependencies.mq-macros]
version = "0.5.29"

[dependencies.mq-markdown]
version = "0.5.29"
features = ["html-to-markdown"]

[dependencies.nom]
version = "8.0.0"

[dependencies.nom_locate]
version = "5.0.0"

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.quick-xml]
version = "0.39.2"

[dependencies.regex-lite]
version = "0.1.9"

[dependencies.ropey]
version = "1.6"
optional = true

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11.0"

[dependencies.similar]
version = "3.0.0"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.smol_str]
version = "0.3.6"

[dependencies.string-interner]
version = "0.20"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "1.1"

[dependencies.toon-format]
version = "0.4"
default-features = false

[dependencies.url]
version = "2.5.8"

[dependencies.yaml-rust2]
version = "0.11.0"

[dev-dependencies.divan]
version = "3.0.5"
package = "codspeed-divan-compat"

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.scopeguard]
version = "1.2.0"
