vectorizer-sdk 3.0.0

Rust SDK for Vectorizer — RPC-first (vectorizer://) with HTTP fallback
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"
name = "vectorizer-sdk"
version = "3.0.0"
authors = ["HiveLLM Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for Vectorizer — RPC-first (vectorizer://) with HTTP fallback"
readme = "README.md"
keywords = [
    "vector-database",
    "semantic-search",
    "embeddings",
    "rust",
]
categories = [
    "database",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/hivellm/vectorizer.git"
resolver = "2"

[features]
default = [
    "rpc",
    "http",
]
http = []
rpc = []
umicp = ["umicp-core"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"
features = ["backtrace"]

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "json",
    "multipart",
]
default-features = false

[dependencies.rmp-serde]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dependencies.umicp-core]
version = "0.2"
optional = true

[dependencies.uuid]
version = "1.6"
features = [
    "v4",
    "serde",
]

[dependencies.vectorizer-protocol]
version = "3.0.0"

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

[lints.clippy]
cast_lossless = "warn"
doc_link_with_quotes = "warn"
enum_glob_use = "warn"
expect_used = "deny"
explicit_into_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
from_iter_instead_of_collect = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
inefficient_to_string = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
match_wildcard_for_single_variants = "warn"
needless_continue = "warn"
needless_pass_by_ref_mut = "warn"
needless_raw_string_hashes = "warn"
ptr_as_ptr = "warn"
ref_option_ref = "warn"
undocumented_unsafe_blocks = "deny"
uninlined_format_args = "warn"
unnecessary_wraps = "warn"
unused_self = "warn"
unwrap_used = "deny"
used_underscore_binding = "warn"

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

[lints.rustdoc]
private_intra_doc_links = "allow"