vectorizer-protocol 3.2.0

Wire protocol types for Vectorizer (RPC + gRPC). Shared between server and SDKs.
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-protocol"
version = "3.2.0"
authors = ["HiveLLM Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire protocol types for Vectorizer (RPC + gRPC). Shared between server and SDKs."
readme = false
keywords = [
    "vector-database",
    "wire-protocol",
    "rpc",
    "grpc",
]
categories = [
    "database",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/hivellm/vectorizer"
resolver = "2"

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

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

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

[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tokio]
version = "1.48"
features = ["io-util"]
default-features = false

[dependencies.tonic]
version = "0.14"
features = []

[dependencies.tonic-prost]
version = "0.14"

[build-dependencies.protoc-bin-vendored]
version = "3.2"

[build-dependencies.tonic-build]
version = "0.14"

[build-dependencies.tonic-prost-build]
version = "0.14"

[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"