rust-modules-example
tarpc
rust-modules-example | tarpc | |
---|---|---|
1 | 6 | |
0 | 3,044 | |
- | 1.5% | |
0.0 | 7.9 | |
over 2 years ago | 8 days ago | |
Rust | Rust | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-modules-example
-
Hey Rustaceans! Got an easy question? Ask here (2/2022)!
Module discovery and path naming were also very confusing for me when I first started with Rust. /u/masklinn gave a great explanation of your situation, but I thought it'd be helpful to also have an example of the different ways you can declare, import, and use modules. I put together a repo here: https://github.com/pmsanford/rust-modules-example that attempts to show this which you can clone and play around with yourself. I hope it's helpful.
tarpc
-
A high performance Remote Procedure Call (RPC) system for rust
You can think its better version of tarpc
- Typesafe client generation for servers? (similar to trpc)
-
Anyone have experience with tarpc?
tarpc is a Rust RPC crate by google (not official)
-
Any suggestion to build a long-lived connection with dual-rpc capability
gRPC (https://github.com/google/tarpc) is the first thought here, but it is bounded to http2 and the client has to initiate the connection, I haven't used stream request before so not sure if it fits my situation.
-
Hey Rustaceans! Got an easy question? Ask here (2/2022)!
For generating server and client code from an interface description, you may try tonic for gRPC with protobuf as your interface language, or tarpc if you want to describe the API in Rust.
What are some alternatives?
esper.rs
tonic - A native gRPC client & server implementation with async/await support.
pixels - A tiny hardware-accelerated pixel frame buffer. 🦀
capnproto-rust - Cap'n Proto for Rust
jsonrpc - Rust JSON-RPC implementation
lust - A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.
retainer - Minimal async cache in Rust with support for key expirations
delay-timer - Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.
untokio - pretend tokio doesn't exist
zero2prod - An implementation of Zero To Production In Rust using Axum instead of Actix
pasts - Minimal and simpler alternative to the futures crate.
rmp-rpc - a msgpack-rpc rust library based on tokio