Crates.io | grpc-web-client |
lib.rs | grpc-web-client |
version | 0.1.2 |
source | src |
created_at | 2021-05-05 20:51:59.479369 |
updated_at | 2021-05-07 19:22:52.201085 |
description | An implementation of the gRPC-Web protocol that allows using tonic in browsers via wasm. |
homepage | https://github.com/titanous/grpc-web-client |
repository | https://github.com/titanous/grpc-web-client |
max_upload_size | |
id | 393564 |
size | 24,081 |
A Rust implementation of the gRPC-Web protocol that allows using tonic in browsers via wasm.
Running the tests requires wasm-pack
.
To run the tests, first start the server:
RUST_LOG=info cargo run -p test-server
Then, after the server is built and running, the tests can be run.
wasm-pack test --firefox --chrome --safari --headless test/test-client
This package is heavily based on webtonic.