entrait
rust
entrait | rust | |
---|---|---|
3 | 2,775 | |
91 | 100,462 | |
- | 1.6% | |
5.7 | 10.0 | |
5 days ago | about 8 hours ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
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.
entrait
-
Entrait 0.4 — loosely coupled application design made easy
Entrait (docs) is a proc-macro for designing loosely coupled applications, enabling the same testing flexibility that users of more orthodox object-oriented languages are used to.
-
Fighting 'static bounds
You might want to look at https://docs.rs/entrait/latest/entrait/, a pattern created specifically for frameworks (like async-graphql) to be loosely linked with your business logic and global application state. There is already a small example for async-graphql. (I am the author of entrait)
-
Entrait v0.3.2
A new version of entrait has been released, this time with experimental support for zero-cost async Inversion of Control.
rust
-
2025’s Must-Know Tech Stacks
Rust
- Loco 0.14 on Cathyos: 始め方
-
Loco 0.14 on Cathyos: Getting started
Loco is a relatively new Rust web framework which first appeared around 2021. It is strongly inspired by Ruby on Rails, and designed to bring developers productivity as various functionality on routing, middlewares, and request handling. They aim to provide a modern and intuitive development experience.
-
Getting Started with Blockchain: A Guide for Beginners
Developer: Learn programming languages like Solidity (Ethereum) or Rust (Polkadot).
-
SSH port forwarding from within code
Port forwarding is a common technique used to access some service behind jump host from your local machine. It is a daily bread of many administrative tasks. In this post I'll show how to create such connections on demand from within Raku or Rust code (without relying on ssh -L system command).
-
Optimizing uint64_t Digit Counting: A Method that Beats Lemire's by up to 27%
This is for integer log 10, but could be adapted for number of digits. It needs a wrapper for 64 bit to invoke it multiple times, but most numbers in a JSON are small, so it might even be competitive; it needs only 4 cycles with enough instruction level parallelism.
I gathered this idea from the output of a superoptimizer, it was fun to figure out how it works. For spoilers, see [1].
[1] https://github.com/rust-lang/rust/blob/master/library/core/s...
- Weird Rust Expressions
-
Four limitations of Rust's borrow checker
At least based on the comments on lobste.rs [0] and /r/rust, these seem to be actively worked on and/or will be solved Soon (TM):
1. Checking does not take match and return into account: I think this should be addressed by Polonius? https://rust.godbolt.org/z/8axYEov6E
2. Being async is suffering: I think this is addressed by async closures, due to be stabilized in Rust 2024/Rust 1.85: https://rust.godbolt.org/z/9MWr6Y1Kz
3. FnMut does not allow reborrowing of captures: I think this is also addressed by async closures: https://rust.godbolt.org/z/351Kv3hWM
4. Send checker is not control flow aware: There seems to be (somewhat) active work to address this? No idea if there are major roadblocks, though. https://github.com/rust-lang/rust/pull/128846
[0]: https://lobste.rs/s/4mjnvk/four_limitations_rust_s_borrow_ch...
[1]: https://old.reddit.com/r/rust/comments/1hjo0ds/four_limitati...
-
Tauri (2) — Quick Start with Tauri + React (Open Source)
Tauri is built with Rust and requires it for development. So, let's install Rust:
-
[Rust Self-Study] 1.1. Install Rust
Go to the Rust official website, where you can set the language in the top-right corner.