kouky / warp_rpc_example

Example Rust JSON RPC service over HTTP using warp_rpc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warp RPC Example

An example of how to build Rust HTTP RPC services with warp_rpc macros.

Running

Build the project.

    cargo build

Start the server for the example GreetingService.

    RUST_LOG=info cargo run -p greeting_server

Run the executable which uses a service GreetingClient to talk to the server.

    RUST_LOG=info cargo run

License

MIT

About

Example Rust JSON RPC service over HTTP using warp_rpc

License:MIT License


Languages

Language:Rust 95.4%Language:Makefile 4.6%