isabella232 / grpc-web-client

gRPC-Web client in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grpc-web-client

Crates.io Documentation License

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.

About

gRPC-Web client in Rust

License:MIT License


Languages

Language:Rust 100.0%