bones-search 0.23.2

Hybrid search (lexical BM25 + semantic embeddings + structural graph) for bones
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 = "bones-search"
version = "0.23.2"
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hybrid search (lexical BM25 + semantic embeddings + structural graph) for bones"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bobisme/bones"
resolver = "2"

[features]
bundled-model = ["semantic-ort"]
default = []
semantic-model2vec = [
    "dep:safetensors",
    "dep:tokenizers",
    "dep:ureq",
]
semantic-ort = [
    "dep:ort",
    "dep:tokenizers",
    "dep:ureq",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bones-core]
version = "0.23.2"

[dependencies.dirs]
version = "5.0"

[dependencies.ort]
version = "2.0.0-rc.10"
optional = true

[dependencies.petgraph]
version = "0.6"

[dependencies.rusqlite]
version = "0.30"
features = ["bundled"]

[dependencies.safetensors]
version = "0.4"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.terseid]
version = "0.1.2"

[dependencies.tokenizers]
version = "0.19"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.ureq]
version = "2.10"
optional = true

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.tempfile]
version = "3.10"

[lints.clippy]
unnecessary_wraps = "allow"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1