[package]
edition = "2021"
rust-version = "1.90"
name = "dynomite-text"
version = "0.0.2"
authors = ["The Dynomite Rust Port Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trigram + bloom-filter text index for approximate-substring + (future) approximate-regex search."
readme = false
license = "Apache-2.0"
repository = "https://github.com/gburd/dynomite"
[features]
default = []
noxu = [
"dep:noxu",
"dep:bincode",
]
[lib]
name = "dyntext"
path = "src/lib.rs"
[[test]]
name = "bloom"
path = "tests/bloom.rs"
[[test]]
name = "index"
path = "tests/index.rs"
[[test]]
name = "persist_round_trip"
path = "tests/persist_round_trip.rs"
required-features = ["noxu"]
[[test]]
name = "postings"
path = "tests/postings.rs"
[[test]]
name = "prefix_extract"
path = "tests/prefix_extract.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "regex_ast"
path = "tests/regex_ast.rs"
[[test]]
name = "regex_perf"
path = "tests/regex_perf.rs"
[[test]]
name = "regex_search"
path = "tests/regex_search.rs"
[[test]]
name = "regex_search_approx"
path = "tests/regex_search_approx.rs"
[[test]]
name = "tiling_property"
path = "tests/tiling_property.rs"
[[test]]
name = "tre_wrapper"
path = "tests/tre_wrapper.rs"
[[test]]
name = "trigram"
path = "tests/trigram.rs"
[[bench]]
name = "index_throughput"
path = "benches/index_throughput.rs"
harness = false
[dependencies.bincode]
version = "1.3"
optional = true
[dependencies.blake3]
version = "1.5"
[dependencies.noxu]
version = "3.0.2"
optional = true
[dependencies.rayon]
version = "1.10"
[dependencies.regex]
version = "1"
[dependencies.regex-syntax]
version = "0.8"
[dependencies.roaring]
version = "0.10"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = [
"derive",
"derive",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.tre-sys]
version = "0.0.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.hegeltest]
version = "0.14"
features = ["native"]
[dev-dependencies.tempfile]
version = "3.27"
[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]