keyword-generics-initiative
tonic
keyword-generics-initiative | tonic | |
---|---|---|
8 | 48 | |
88 | 9,076 | |
- | 2.6% | |
8.5 | 8.6 | |
5 days ago | 5 days ago | |
Rust | ||
GNU General Public License v3.0 or later | 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.
keyword-generics-initiative
-
Effing-mad, an effect library for Rust
for which someone made a more detailed issue [3]. It is similar to a `where` clause in that the `effect` clause comes afterwards and defines the effects that a function can have.
[0] https://blog.rust-lang.org/inside-rust/2023/02/23/keyword-ge...
[1] https://old.reddit.com/r/rust/comments/119y8ex/keyword_gener...
[2] https://github.com/rust-lang/keyword-generics-initiative/iss...
[3] https://github.com/rust-lang/keyword-generics-initiative/iss...
-
To async trait or just to trait
You might be interested in the keyword generics work if you haven't already seen it.
-
Keyword Generics Progress Report: February 2023 | Inside Rust Blog
Hey, your proposal is even more famous: https://github.com/rust-lang/keyword-generics-initiative/issues/14
-
An idea for a language with both Functions and Procedures
The Rust folks are working on a solution though
- async fn calls can lead to surprising performance problems if they are nested too deeply
-
Idea for new Conditional compilation feature to make Rust more pleasant to work with
You may be interested in following the progress of the existing Rust Keyword Generics proposal
-
Any way to merge the duplicated logic between a `get()` and a `get_mut()` method?
I think keyword generics initiative might help with that in the future, but it's still very much in the brainstorming stage.
tonic
-
Roll your own auth with Rust and Protobuf
Use tonic-build directly from Rust.
-
How to limit different concurrency number by service on Tonic?
} // Omit the remaining code and refer to the example in Tonic: https://github.com/hyperium/tonic/blob/master/examples/src/multiplex/server.rs ```
-
Ideas/Suggestions around setting up a data pipeline from scratch
If I’m not misunderstanding, you could both decode the gRPC protobuf AND write to delta lake in Rust. Tonic, Delta-rs.
-
Throughput doesn't increase with cores/threads count
Original post: https://github.com/hyperium/tonic/issues/1405. Cross-post here in case the problem is not specific to tonic.
-
Getting started with gRPC in Rust
Tonic
-
libp2p alternate
Just to double check Is this the correct repo?
-
Spaceman: A gRPC client from another world. Comes both as a CLI and as a GUI built with Tauri and Yew.rs
Wasm isn't involved much actually. Basically, the frontend asks the backend to perform a gRPC call on its behalf using Tauri events. They are like named channels on which you can send any serde-compatible value. But the backend is a normal Rust program so there are no constraints there. I use prost-reflect to encode/decode Protobuf messages according to Protobuf descriptors loaded at runtime and make the actual requests using tonic from the tokio ecosystem. prost-reflect is necessary because, normally, tonic expects the Protobuf descriptor to be known at compile time so it can make some code generation behind the scenes.
-
Is there something like Feathersjs for Rust?
You could have a look at gRPC i.e. https://github.com/hyperium/tonic
-
Tower - middleware or interceptor
Looking at this example code: https://github.com/hyperium/tonic/blob/master/examples/src/tower/server.rs
-
Keyword Generics Progress Report: February 2023 | Inside Rust Blog
The remaining gap is remote actors, since you still need some kind of serialization between them, and take your pick of standards for that one such as gRPC using Tonic.
What are some alternatives?
actix - Actor framework for Rust.
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
claro-lang - Claro Lang
grpc-rust - Rust implementation of gRPC
effing-mad - Algebraic effects for Rust
tarpc - An RPC framework for Rust with a focus on ease of use.
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
prost - PROST! a Protocol Buffers implementation for the Rust Language
rust-prometheus - Prometheus instrumentation library for Rust applications
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
prost - PROST! a Protocol Buffers implementation for the Rust Language
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)