1 unstable release
0.1.0 | Aug 29, 2021 |
---|
#27 in #http-service
16KB
268 lines
Warp RPC
Build Rust RPC services powered by Warp + Reqwest.
Provides server and client macros to implement the boilerplate for service RPC over HTTP using JSON payloads. Uses Warp to implement a server and the Reqwest http library to implement the client.
generate_service_client
andgenerate_service_server
macros implement RPC boilerplateerror::ServiceError
for service response errors
Submit issues and pull requests on the warp_rpc github repo.
See warp_rpc_example on Github for a detailed working example.
License
MIT
lib.rs
:
Warp RPC
Build Rust RPC services powered by Warp + Reqwest.
Provides server and client macros to implement the boilerplate for service RPC over HTTP using JSON payloads. Uses Warp to implement a server and the Reqwest http library to implement the client.
generate_service_client
andgenerate_service_server
macros implement RPC boilerplateerror::ServiceError
for service response errors
Submit issues and pull requests on the warp_rpc github repo.
See warp_rpc_example on Github for a detailed working example.
Dependencies
~11–26MB
~380K SLoC