[package] name = "arc-vector-rust" version = "1.4.0" edition = "2021" authors = ["yunju.lly "] description = "Rust client for Arc Vector Search Engine" documentation = "https://gitee.com/giraffedb/arc-vector-rust" homepage = "https://arc_vector.tech/" license = "Apache-2.0" repository = "https://gitee.com/giraffedb/arc-vector-rust" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] tonic = { version = "0.9.2", features = ["tls", "tls-roots"] } prost = "0.11.9" prost-types = "0.11.9" anyhow = "1" serde = { version = "1", features = ["derive"], optional = true } serde_json = { version = "1", optional = true } reqwest = { version = "0.11.18", optional = true, default-features = false, features = ["stream", "rustls-tls"] } futures-util = { version = "0.3.28", optional = true } tokio = { version = "1.29.1", features = ["rt-multi-thread"] } [dev-dependencies] tonic-build = { version = "0.9.2", features = ["prost"] } tokio = { version = "1.29.1", features = ["rt-multi-thread"] } [features] default = ["download_snapshots", "serde"] download_snapshots = ["reqwest", "futures-util"] serde = ["dep:serde", "dep:serde_json"] [[example]] name = "search" required-features = ["serde"]