[package]
edition = "2024"
rust-version = "1.88"
name = "bearing"
version = "0.1.0-alpha.5"
build = false
include = [
"/src/",
"/tests/*.rs",
"/Cargo.toml",
"/LICENSE",
"/NOTICE",
"/README.md",
"/CONTRIBUTING.md",
"/CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of Apache Lucene"
homepage = "https://github.com/toddfeak/bearing"
documentation = "https://docs.rs/bearing"
readme = "README.md"
keywords = [
"lucene",
"search",
"indexing",
"full-text-search",
]
categories = ["text-processing"]
license = "Apache-2.0"
repository = "https://github.com/toddfeak/bearing"
[features]
default = ["jemalloc"]
jemalloc = ["dep:jemallocator"]
[lib]
name = "bearing"
path = "src/lib.rs"
[[bin]]
name = "generate_summary"
path = "src/bin/generate_summary.rs"
[[bin]]
name = "indexfiles"
path = "src/bin/indexfiles.rs"
[[bin]]
name = "listterms"
path = "src/bin/listterms.rs"
[[bin]]
name = "queryindex"
path = "src/bin/queryindex.rs"
[[test]]
name = "integration_analysis"
path = "tests/integration_analysis.rs"
[[test]]
name = "integration_boolean_query"
path = "tests/integration_boolean_query.rs"
[[test]]
name = "integration_indexing"
path = "tests/integration_indexing.rs"
[[test]]
name = "integration_store_input"
path = "tests/integration_store_input.rs"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.fixedbitset]
version = "0.5"
[dependencies.jemallocator]
version = "0.5"
optional = true
[dependencies.log]
version = "0.4"
[dependencies.mem_dbg]
version = "0.4.1"
[dependencies.memmap2]
version = "0.9.10"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.simple_logger]
version = "5.2"
default-features = false
[dependencies.unicode-segmentation]
version = "1.13"
[dependencies.utf8-zero]
version = "0.8.1"
[dev-dependencies.assertables]
version = "9.8.6"
[dev-dependencies.tempfile]
version = "3.27.0"
[lints.clippy]
absolute_paths = "warn"
[profile.profiling]
debug = 1
inherits = "release"