anda_db_tfs 0.5.13

A full-text search library using the BM25 ranking algorithm in Rust.
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"
name = "anda_db_tfs"
version = "0.5.13"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A full-text search library using the BM25 ranking algorithm in Rust."
readme = "README.md"
keywords = [
    "ai-agent",
    "object_store",
    "hnsw",
    "database",
]
categories = [
    "accessibility",
    "web-programming",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/ldclabs/anda_db/tree/main/rs/anda_db_tfs"
resolver = "2"

[features]
default = []
full = [
    "tantivy",
    "tantivy-jieba",
]
tantivy = ["dep:tantivy"]
tantivy-jieba = [
    "dep:tantivy-jieba",
    "dep:tantivy",
]

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

[[example]]
name = "tfs_demo"
path = "examples/tfs_demo.rs"
required-features = ["full"]

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

[dependencies.anda_db_utils]
version = "0.2"

[dependencies.ciborium]
version = "0.2"

[dependencies.dashmap]
version = "6.1"
features = ["serde"]
default-features = false

[dependencies.parking_lot]
version = "0.12"

[dependencies.rustc-hash]
version = "2"
features = ["std"]
default-features = false

[dependencies.serde]
version = "1"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.tantivy]
version = "0.26"
features = ["stemmer"]
optional = true
default-features = false

[dependencies.tantivy-jieba]
version = "0.19"
optional = true
default-features = false

[dependencies.tantivy-tokenizer-api]
version = "0.7"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.criterion]
version = "0.8"
default-features = false

[dev-dependencies.structured-logger]
version = "1"
default-features = false

[dev-dependencies.tantivy]
version = "0.26"
default-features = false

[dev-dependencies.tantivy-jieba]
version = "0.19"
default-features = false

[dev-dependencies.tokio]
version = "1"
features = ["full"]
default-features = false