velesdb-server 3.2.1

REST API server for VelesDB vector database
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 = "2021"
rust-version = "1.89"
name = "velesdb-server"
version = "3.2.1"
authors = ["Julien Lange <contact@wiscale.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "REST API server for VelesDB vector database"
homepage = "https://velesdb.com"
documentation = "https://deepwiki.com/cyberlife-coder/VelesDB"
readme = "README.md"
keywords = [
    "vector-database",
    "embeddings",
    "rag",
    "local-first",
    "semantic-search",
]
categories = [
    "database",
    "data-structures",
    "algorithms",
    "science",
]
license-file = "LICENSE"
repository = "https://github.com/cyberlife-coder/velesdb"

[features]
bench-sift1m = ["velesdb-core/bench-sift1m"]
default = [
    "velesdb-core/default",
    "persistence",
    "update-check",
    "prometheus",
]
gpu = ["velesdb-core/gpu"]
internal-bench = ["velesdb-core/internal-bench"]
loom = ["velesdb-core/loom"]
openapi = ["velesdb-core/openapi"]
persistence = ["velesdb-core/persistence"]
prometheus = []
swagger-ui = ["dep:utoipa-swagger-ui"]
test-fault-injection = ["velesdb-core/test-fault-injection"]
update-check = ["velesdb-core/update-check"]

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

[[bin]]
name = "velesdb-server"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8"

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "env",
]

[dependencies.futures]
version = "0.3"

[dependencies.governor]
version = "0.10"

[dependencies.hyper]
version = "1"

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server-auto",
]

[dependencies.parking_lot]
version = "0.12"

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.rustls-pemfile]
version = "2"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.toml]
version = "1.1"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[dependencies.tower_governor]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.utoipa]
version = "5"
features = ["axum_extras"]

[dependencies.utoipa-swagger-ui]
version = "9"
features = ["axum"]
optional = true

[dependencies.velesdb-core]
version = "3.2.1"
features = ["openapi"]
default-features = false

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "native-tls",
]
default-features = false

[dev-dependencies.serde_yaml]
version = "0.9"

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

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.toml]
version = "1.1"

[dev-dependencies.tower]
version = "0.5"

[lints.clippy]
assertions_on_constants = "allow"
cast_lossless = "allow"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
collapsible_if = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
imprecise_flops = "allow"
large_stack_arrays = "allow"
manual_assert = "allow"
manual_let_else = "allow"
match_single_binding = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
non_send_fields_in_send_ty = "warn"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_clone = "allow"
redundant_pub_crate = "allow"
set_contains_or_insert = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
single_match_else = "allow"
struct_field_names = "allow"
suboptimal_flops = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_cast = "allow"
unused_async = "allow"
unused_peekable = "allow"
unused_self = "allow"
use_self = "allow"
used_underscore_binding = "allow"
useless_let_if_seq = "allow"
wildcard_imports = "allow"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]