3 releases
0.1.2 | May 7, 2021 |
---|---|
0.1.1 | May 5, 2021 |
0.1.0 | May 5, 2021 |
#70 in #grpc-client
25KB
521 lines
grpc-web-client
A Rust implementation of the gRPC-Web protocol that allows using tonic in browsers via wasm.
Testing
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
Acknowledgments
This package is heavily based on webtonic.
Dependencies
~14–22MB
~324K SLoC