[package]
edition = "2024"
rust-version = "1.85"
name = "tokmat"
version = "0.2.0"
authors = ["Jean Philippe Wan"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone high-performance Canadian address parsing engine core"
documentation = "https://docs.rs/tokmat"
readme = "README.md"
keywords = [
"address",
"parser",
"tokenizer",
"regex",
"canada",
]
categories = [
"parser-implementations",
"text-processing",
]
license = "MIT"
repository = "https://github.com/Jrakru/tokmat"
[package.metadata]
copyright = "Copyright (c) 2026 Jean Philippe Wan"
standalone = true
[package.metadata.docs.rs]
all-features = true
[lib]
name = "tokmat"
path = "src/lib.rs"
[[example]]
name = "benchmark_runner"
path = "examples/benchmark_runner.rs"
[[test]]
name = "python_behavior_regressions"
path = "tests/python_behavior_regressions.rs"
[[test]]
name = "reference_corpus_harness"
path = "tests/reference_corpus_harness.rs"
[[test]]
name = "tel_grammar_contract"
path = "tests/tel_grammar_contract.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.csv]
version = "1.3"
[dependencies.lru]
version = "0.12"
[dependencies.pcre2]
version = "0.2"
[dependencies.rayon]
version = "1.10"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.8"
[dependencies.unicode-general-category]
version = "1.1.0"
[dependencies.unicode-normalization]
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.insta]
version = "1.42"
features = ["json"]
[dev-dependencies.proptest]
version = "1.6"
[lints.clippy]
all = "warn"
[lints.rust]
unsafe_code = "warn"