# 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"
rust-version = "1.85"
name = "kham-core"
version = "0.8.2"
authors = ["Preedee Ponchevin"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust Thai word segmentation engine — no_std compatible"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/preedep/kham"

[features]
default = ["std"]
std = []

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

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

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

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

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

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

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

[dependencies.miniz_oxide]
version = "0.8"
features = ["with-alloc"]
default-features = false

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

[build-dependencies.miniz_oxide]
version = "0.8"
