# 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-tsv"
version = "0.0.7"
authors = ["Yggdrasill Team <192607617@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance incremental TSV (Tab-Separated Values) parser for the oak ecosystem with flexible configuration, optimized for data parsing and tabular data processing."
homepage = "https://github.com/ygg-lang/oaks"
documentation = "https://docs.rs/oak-tsv"
readme = "readme.md"
keywords = [
    "parser",
    "tsv",
    "data",
    "tabular",
]
categories = ["parsing"]
license = "MPL-2.0"
repository = "https://github.com/ygg-lang/oaks/tree/master/examples/oak-tsv"
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_tsv"
path = "src/lib.rs"

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

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

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

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

[dependencies.oak-dsv]
version = "0.0.7"

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

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

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

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

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

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

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