# 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 = "oak-regex"
version = "0.0.10"
authors = ["Yggdrasill Team <192607617@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance incremental Regex parser for the oak ecosystem with flexible configuration."
homepage = "https://github.com/ygg-lang/oaks"
documentation = "https://docs.rs/oak-regex"
readme = "readme.md"
keywords = [
    "parser",
    "regex",
    "experimental",
]
categories = ["parsing"]
license = "MPL-2.0"
repository = "https://github.com/ygg-lang/oaks/tree/master/examples/oak-regex"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["serde"]
lsp = [
    "dep:oak-lsp",
    "dep:oak-hover",
    "dep:oak-vfs",
    "oak-highlight",
    "oak-pretty-print",
    "dep:futures",
]
mcp = [
    "lsp",
    "oak-mcp/io-std",
]
serde = [
    "dep:serde",
    "oak-core/serde",
]

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

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

[dependencies.futures]
version = "0.3.32"
optional = true

[dependencies.oak-core]
version = "0.0.10"

[dependencies.oak-highlight]
version = "0.0.10"
optional = true

[dependencies.oak-hover]
version = "0.0.10"
optional = true

[dependencies.oak-lsp]
version = "0.0.10"
optional = true

[dependencies.oak-mcp]
version = "0.0.10"
optional = true

[dependencies.oak-pretty-print]
version = "0.0.10"
optional = true

[dependencies.oak-vfs]
version = "0.0.10"
optional = true

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.tokio]
version = "1.50.0"
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.oak-testing]
version = "0.0.10"
