[package]
name = "kham-core"
description = "Pure Rust Thai word segmentation engine — no_std compatible"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true

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

[dependencies]
miniz_oxide = { version = "0.8", default-features = false, features = ["with-alloc"] }

[build-dependencies]
miniz_oxide = "0.8"

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "segmenter"
harness = false

[[bench]]
name = "dict"
harness = false
