[[bin]]
name = "vecboost"
path = "src/main.rs"
[build-dependencies.tonic-build]
version = "0.12"
[dependencies.aes-gcm]
version = "0.10"
[dependencies.anyhow]
version = "1.0"
[dependencies.argon2]
version = "0.5"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.7"
[dependencies.axum-extra]
features = ["typed-header"]
version = "0.9"
[dependencies.axum-prometheus]
version = "0.7"
[dependencies.candle-core]
features = []
version = "0.9"
[dependencies.candle-nn]
version = "0.9"
[dependencies.candle-transformers]
version = "0.9"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.config]
version = "0.14"
[dependencies.cudarc]
default-features = false
optional = true
version = "0.18.2"
[dependencies.futures]
version = "0.3"
[dependencies.hashbrown]
version = "0.15"
[dependencies.hex]
version = "0.4"
[dependencies.hf-hub]
version = "0.3"
[dependencies.home]
version = "0.5"
[dependencies.jsonwebtoken]
version = "9.3"
[dependencies.lru]
version = "0.12"
[dependencies.ndarray]
optional = true
version = "0.16"
[dependencies.num_cpus]
version = "1.16"
[dependencies.ort]
optional = true
version = "2.0.0-rc.11"
[dependencies.password-hash]
features = ["rand_core"]
version = "0.5"
[dependencies.prometheus]
features = ["process"]
version = "0.13"
[dependencies.prost]
version = "0.13"
[dependencies.rand]
version = "0.8"
[dependencies.redis]
features = ["tokio-comp", "connection-manager"]
optional = true
version = "1.0.0-rc.5"
[dependencies.regex]
version = "1.11"
[dependencies.reqwest]
features = ["stream"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.sys-info]
version = "0.9"
[dependencies.tempfile]
version = "3.14"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["full"]
version = "1.40"
[dependencies.toml]
version = "0.8"
[dependencies.tonic]
version = "0.12"
[dependencies.tower-http]
features = ["trace", "cors", "add-extension", "validate-request", "set-header", "timeout"]
version = "0.6"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[dependencies.utoipa]
features = ["axum_extras", "chrono", "uuid"]
version = "5.1"
[dependencies.utoipa-swagger-ui]
features = ["axum"]
version = "8.0"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.11"
[dependencies.xxhash-rust]
features = ["xxh3"]
version = "0.8"
[[example]]
name = "download_model"
path = "examples/download_model.rs"
[[example]]
name = "gpu_basic_device_test"
path = "examples/gpu/basic_device_test.rs"
required-features = ["cuda"]
[[example]]
name = "gpu_candle_engine_test"
path = "examples/gpu/candle_engine_test.rs"
required-features = ["cuda"]
[[example]]
name = "gpu_onnx_engine_test"
path = "examples/gpu/onnx_engine_test.rs"
required-features = ["cuda", "onnx"]
[[example]]
name = "gpu_performance_comparison"
path = "examples/gpu/performance_comparison.rs"
required-features = ["cuda", "onnx"]
[features]
auth = []
cuda = ["candle-core/cuda", "candle-nn/cuda"]
default = []
grpc = []
metal = ["candle-core/metal", "candle-nn/metal"]
onnx = ["ndarray", "ort"]
redis = ["dep:redis"]
[lib]
name = "vecboost"
path = "src/lib.rs"
[package]
authors = ["Kirky-X <kirky-x@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["asynchronous", "science", "web-programming::http-server"]
description = "High-performance embedding vector service written in Rust"
documentation = "https://github.com/Kirky-X/vecboost"
edition = "2024"
homepage = "https://github.com/Kirky-X/vecboost"
keywords = ["embedding", "vector", "ml", "ai", "inference"]
license = "MIT"
name = "vecboost"
readme = "README.md"
repository = "https://github.com/Kirky-X/vecboost"
version = "0.1.2"
[profile.dev]
opt-level = 1
[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(target_os = "macos")'.dependencies.tokenizers]
features = ["http"]
version = "0.15"
[target.'cfg(target_os = "windows")'.dependencies]
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "performance_test"
path = "tests/performance_test.rs"
[[test]]
name = "real_engine"
path = "tests/real_engine.rs"
[[test]]
name = "test_real_inference"
path = "tests/test_real_inference.rs"