[package] name = "cipherstash-grpc-wasm" version = "0.1.0-beta.0" edition = "2021" license = "GPL-3.0" description = "Bindings for CipherStash gRPC calls." include = [ "src/lib.rs", "src/generated/*" ] [lib] crate-type = ["cdylib", "rlib"] [dependencies] wasm-bindgen = { version = "0.2", default-features = false, features = ["serde-serialize"] } tonic = { version = "0.6", default-features = false, features = ["codegen", "prost"] } prost = { version = "0.9", default-features = false } wasm-bindgen-test = { version = "0.3", default-features = false } js-sys = { version = "0.3", default-features = false } [dependencies.grpc-web-client] package = "cipherstash-grpc-web-client" version = "0.1.2" features = ["web-worker"] [build-dependencies] tonic-build = { version = "0.6", default-features = false, features = ["prost"] } [profile.release] lto = true opt-level = 'z' codegen-units = 1 [package.metadata.wasm-pack.profile.release] wasm-opt = ['-Os']