[package]
edition = "2021"
rust-version = "1.80"
name = "gramdex"
version = "0.3.4"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "K-gram indexing for approximate string matching"
homepage = "https://github.com/arclabs561/gramdex"
documentation = "https://docs.rs/gramdex"
readme = "README.md"
keywords = [
"string",
"similarity",
"ngram",
"trigram",
"search",
]
categories = [
"text-processing",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/gramdex"
[features]
serde = ["dep:serde"]
store = [
"serde",
"dep:segstore",
"dep:durability",
]
[lib]
name = "gramdex"
path = "src/lib.rs"
[[example]]
name = "candidate_verify_rank"
path = "examples/candidate_verify_rank.rs"
[[test]]
name = "approx_match_ranking"
path = "tests/approx_match_ranking.rs"
[[bench]]
name = "store"
path = "benches/store.rs"
harness = false
[dependencies.durability]
version = "0.6"
optional = true
[dependencies.segstore]
version = "0.3"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]