[package]
edition = "2021"
rust-version = "1.80"
name = "postings"
version = "0.1.3"
authors = ["Arc <attobop@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Inverted-index postings lists with segment-style updates. Supports u32 TF (classical) and f32 weights (SPLADE/learned sparse)."
homepage = "https://github.com/arclabs561/postings"
documentation = "https://github.com/arclabs561/postings#readme"
readme = "README.md"
keywords = [
"search",
"postings",
"inverted-index",
"search",
]
categories = [
"text-processing",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/postings"
[features]
default = []
persistence = [
"dep:durability",
"dep:postcard",
"serde",
]
positional = []
roc = [
"dep:cnk",
"positional",
]
sbits = ["dep:sbits"]
serde = ["dep:serde"]
[lib]
name = "postings"
path = "src/lib.rs"
[[example]]
name = "durable_roundtrip"
path = "examples/durable_roundtrip.rs"
[[test]]
name = "durability_roundtrip"
path = "tests/durability_roundtrip.rs"
[dependencies.cnk]
version = "0.1.2"
optional = true
[dependencies.durability]
version = "0.5.0"
optional = true
[dependencies.postcard]
version = "1.0"
optional = true
[dependencies.sbits]
version = "0.1.0"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.durability]
version = "0.2.0"
[dev-dependencies.proptest]
version = "1.9"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.tempfile]
version = "3.10"