# 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" name = "arc-vector-rust" version = "1.4.0" authors = ["yunju.lly "] description = "Rust client for Arc Vector Search Engine" homepage = "https://arc_vector.tech/" documentation = "https://gitee.com/giraffedb/arc-vector-rust" readme = "README.md" license = "Apache-2.0" repository = "https://gitee.com/giraffedb/arc-vector-rust" [[example]] name = "search" required-features = ["serde"] [dependencies.anyhow] version = "1" [dependencies.futures-util] version = "0.3.28" optional = true [dependencies.prost] version = "0.11.9" [dependencies.prost-types] version = "0.11.9" [dependencies.reqwest] version = "0.11.18" features = [ "stream", "rustls-tls", ] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.tokio] version = "1.29.1" features = ["rt-multi-thread"] [dependencies.tonic] version = "0.9.2" features = [ "tls", "tls-roots", ] [dev-dependencies.tokio] version = "1.29.1" features = ["rt-multi-thread"] [dev-dependencies.tonic-build] version = "0.9.2" features = ["prost"] [features] default = [ "download_snapshots", "serde", ] download_snapshots = [ "reqwest", "futures-util", ] serde = [ "dep:serde", "dep:serde_json", ]