kaiji 0.1.0

High-performance CJK fuzzy search and text normalization engine
Documentation
# 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"
rust-version = "1.85"
name = "kaiji"
version = "0.1.0"
authors = ["kent-tokyo <kent-tokyo@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance CJK fuzzy search and text normalization engine"
homepage = "https://github.com/kent-tokyo/kaiji"
documentation = "https://docs.rs/kaiji"
readme = "README.md"
keywords = [
    "cjk",
    "japanese",
    "normalization",
    "kanji",
    "unicode",
]
categories = [
    "text-processing",
    "internationalization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kent-tokyo/kaiji"

[features]
address = []
chinese = []
default = ["japanese"]
full = [
    "japanese",
    "chinese",
    "nfkc",
    "address",
]
index = ["dep:fst"]
japanese = []
nfkc = ["dep:unicode-normalization"]

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

[[example]]
name = "match_names"
path = "examples/match_names.rs"

[[example]]
name = "normalize_cli"
path = "examples/normalize_cli.rs"

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

[[bench]]
name = "index_bench"
path = "benches/index_bench.rs"
harness = false
required-features = ["index"]

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

[dependencies.fst]
version = "0.4"
optional = true

[dependencies.unicode-normalization]
version = "0.1"
optional = true

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