open-standards/eoc/eoc-rs/crates/eoc-rerank/Cargo.toml
Transaction Science ab59bb39ba Repo-wide toolchain refresh + jouleclaw policy/sandbox updates
Pin to the repo rust-toolchain and refresh workspace/crate manifests across
openpay, eoc, arl, smart-byte, and joule-ui, and update the jouleclaw
omni/policy/sandbox crates accordingly. No wire-format or conformance-vector
changes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-07 17:04:45 -04:00

34 lines
1.2 KiB
TOML

[package]
name = "eoc-rerank"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
description = "EOC re-ranking + hybrid retrieval — BM25, SPLADE, dense (HNSW), RRF fusion, and cross-encoder rerankers (Cohere / Voyage / bge / ms-marco / ColBERT)."
[dependencies]
eoc-core.workspace = true
eoc-embeddings = { path = "../eoc-embeddings" }
async-trait.workspace = true
serde.workspace = true
serde_json = "1"
thiserror.workspace = true
tokio = { version = "1", default-features = false, features = ["macros", "sync", "rt"] }
reqwest = { version = "0.13", default-features = false, features = ["rustls", "json"] }
unicode-normalization = "0.1"
tracing = "0.1"
# Optional — local cross-encoder inference. Heavy; off by default.
ort = { version = "2.0.0-rc.10", optional = true, default-features = false, features = ["std"] }
tokenizers = { version = "0.23", optional = true, default-features = false, features = ["onig"] }
[dev-dependencies]
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread", "test-util"] }
wiremock = "0.6"
[features]
default = []
local = ["dep:ort", "dep:tokenizers"]
stemming = []