candding 0.1.0

Pure candle embeddings for Rust with no ONNX: dense, sparse, multi-vector and rerank models today, image models on the roadmap
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.94"
name = "candding"
version = "0.1.0"
build = false
include = [
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/NOTICE",
    "/examples",
    "/src",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure candle embeddings for Rust with no ONNX: dense, sparse, multi-vector and rerank models today, image models on the roadmap"
homepage = "https://candding.rust-dd.com"
readme = "README.md"
keywords = [
    "embeddings",
    "candle",
    "retrieval",
    "rerank",
    "semantic-search",
]
categories = [
    "artificial-intelligence",
    "text-processing",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/rust-dd/candding"

[package.metadata.docs.rs]
no-default-features = true

[features]
accelerate = [
    "candle-core/accelerate",
    "candle-nn/accelerate",
]
cuda = [
    "candle-core/cuda",
    "candle-nn/cuda",
]
cudnn = [
    "cuda",
    "candle-core/cudnn",
    "candle-nn/cudnn",
]
default = ["download"]
download = [
    "dep:futures-util",
    "dep:hf-hub",
    "dep:sha1",
    "dep:sha2",
    "dep:tokio",
]
metal = [
    "candle-core/metal",
    "candle-nn/metal",
]
mkl = [
    "candle-core/mkl",
    "candle-nn/mkl",
]
model-tests = []

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

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

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

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

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

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

[dependencies.candle-core]
version = "0.11.0"

[dependencies.candle-nn]
version = "0.11.0"

[dependencies.dirs]
version = "7.0.0"

[dependencies.futures-util]
version = "0.3.34"
optional = true
default-features = false

[dependencies.hf-hub]
version = "1.0.0"
features = ["rustls-tls"]
optional = true
default-features = false

[dependencies.murmur3]
version = "0.5.2"

[dependencies.rust-stemmers]
version = "1.2.0"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.sha1]
version = "0.11.0"
optional = true
default-features = false

[dependencies.sha2]
version = "0.11.0"
optional = true

[dependencies.thiserror]
version = "2.0.20"

[dependencies.tokenizers]
version = "0.23.2"
features = ["onig"]
default-features = false

[dependencies.tokio]
version = "1.53.1"
features = ["rt"]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.unicode-general-category]
version = "1.1.0"

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

[dev-dependencies.sha2]
version = "0.11.0"

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

[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2.190"