flash_rerank 0.1.0

Core reranking engine — cross-encoder and ColBERT inference via ONNX Runtime
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"
rust-version = "1.85"
name = "flash_rerank"
version = "0.1.0"
authors = ["The Sauce Suite"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core reranking engine — cross-encoder and ColBERT inference via ONNX Runtime"
readme = false
keywords = [
    "reranking",
    "semantic-search",
    "cross-encoder",
    "search",
    "nlp",
]
categories = [
    "algorithms",
    "text-processing",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TheSauceSuite/Flash-Rerank-Rust-Python-WASM-CLI"
resolver = "2"

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

[[example]]
name = "gpu_bench_models"
path = "examples/gpu_bench_models.rs"

[[example]]
name = "gpu_check"
path = "examples/gpu_check.rs"

[[example]]
name = "micro_profile"
path = "examples/micro_profile.rs"

[[example]]
name = "pipeline_benchmark"
path = "examples/pipeline_benchmark.rs"

[[example]]
name = "profile_pipeline"
path = "examples/profile_pipeline.rs"

[[test]]
name = "accuracy_snapshots"
path = "tests/accuracy_snapshots.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "snapshots"
path = "tests/snapshots.rs"

[[test]]
name = "stress"
path = "tests/stress.rs"

[dependencies.hf-hub]
version = "0.4"
features = ["tokio"]

[dependencies.indicatif]
version = "0.17"

[dependencies.lru]
version = "0.12"

[dependencies.memmap2]
version = "0.9"

[dependencies.ort]
version = "2.0.0-rc.12"
features = [
    "cuda",
    "tensorrt",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.21"
features = ["fancy-regex"]
default-features = false

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.dirs]
version = "6"

[dev-dependencies.insta]
version = "1"
features = ["yaml"]

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

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