[package] name = "cipherstash-grpc" version = "0.20221216.1" edition = "2021" license-file = "LICENSE" homepage = "https://cipherstash.com" readme = "README.md" description = "Bindings for CipherStash gRPC calls." include = [ "src/lib.rs", "src/generated/*" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] prost = { version = "0.9", default-features = false } tonic = { version = "0.6", default-features = false, features = [ "codegen", "prost" ] } cipherstash-grpc-web-client = { version = "0.1.2", optional = true } [build-dependencies] tonic-build = { version = "0.6", default-features = false, features = ["prost", "compression"] } [features] default = [] native = ["tonic/tls-roots", "tonic/compression", "prost/std"] wasm = [ "dep:cipherstash-grpc-web-client" ] web-worker = [ "wasm", "dep:cipherstash-grpc-web-client", "cipherstash-grpc-web-client?/web-worker" ]