pfr
create-rust-app
pfr | create-rust-app | |
---|---|---|
4 | 50 | |
1,263 | 1,450 | |
1.0% | - | |
7.9 | 6.9 | |
17 days ago | 20 days ago | |
C++ | Rust | |
Boost Software License 1.0 | Apache License 2.0 |
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.
pfr
-
Rooting for P1061 "Structured Bindings can introduce a Pack"
This single feature opens a world of new possiblities. For example, it makes implementing "getting the number of fields" trivial. Furthrmore, and much more importantly, it enables turning a struct into a tuple. Currently, this can only be done by enumerating cases (therefore it's not fully generic), as with Boost PFR. By the way, PFR greatly simplifies our codebases, especially for parts with serialization and/or reflection.
-
Minimum viable declarative GUI in C++
The code is relatively short and can be groked with a few coffees: https://github.com/boostorg/pfr/tree/develop/include/boost/pfr ; if you're using C++17 it uses a binary search (https://github.com/boostorg/pfr/blob/develop/include/boost/pfr/detail/fields_count.hpp) to count the number of fields in a struct, by starting by the observation that a likely majorant on the number of fields in a struct is sizeof(the struct) * CHAR_BIT, assuming not too many [[no_unique_address]] tomfooleries. Then once this count is known it's possible to simply map them as a tuple through sheer brute force and destructuring: https://github.com/boostorg/pfr/blob/develop/include/boost/pfr/detail/core17_generated.hpp
-
The Serde Rust Framework
I wonder if the c++ approach of boost.pfr would be portable to rust ? It allows reflection on aggregates without needing to annotate anything: https://github.com/boostorg/pfr
-
Counting the number of fields in an aggregate in C++20
It is an 'interesting' meta-programming problem though (wasted many weeks on it myself, fixed a small gcc bug - a 'uniform init' edge case and filed an issue with magic_get Reflecting array members of aggregate structs).
create-rust-app
-
[DISCUSSION] We need standardization for web projects
So, you're looking for create-rust-app?
- create-rust-app's new tasks plugin is powered by `fang`
- Rust template/framework for building web app
- Rust webapp: in-browser compilation messages and database migration checking
-
[Media] create-rust-app: in-browser compiler errors (and DB migration help!)
It's finally come together! If this peaked your interest, check out https://github.com/Wulf/create-rust-app
-
create-rust-app: sync types from DB to Rust&Typescript
hey r/reactjs, just wanted to share some work revolving around integrating dsync with create-rust-app.
-
create-rust-app: auto-generate diesel structs/queries!
hey r/rust! I just finished testing and releasing the `dsync` integration with create-rust-app. Let me know what you think!~
-
How to Build a Rust CLI Tool to Generate Typescript Types from Rust
tsync by Wulf created as part of the awesome Create Rust App utility for setting up fullstack Rust apps. It's available on crates.io
-
Show HN: Vite-plugin-ssr – Do-one-thing-do-it-well alternative to Next.js / Nuxt
Wowowowow thanks for your efforts behind this!
I’ve integrated vite with a rust backend[1] and so many people have asked me how I managed to achieve SSR because they equate SSR with render+hydrate but it’s really just classical SSR. I think I can finally make their dreams come true because of this.
[1] https://github.com/Wulf/create-rust-app
-
dsync: Diesel.rs code generation
I mainly wrote this as a database-first approach for create-rust-app
What are some alternatives?
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
lldap - Light LDAP implementation
magic_get - std::tuple like methods for user defined types without any macro or boilerplate code
manifold - Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
MLV-App - All in one MLV processing app.
PropertyWebBuilder - Create a fully featured real estate website on Rails in minutes! ⛺
ComLightInterop - Cross-platform COM interop library for .NET Core 2.1 or newer
moros - MOROS: Obscure Rust Operating System 🦉
EU4ConsolePatcher - A simple memory patcher which enables the internal developer console in ironman mode
adsb_deku - ✈️ Rust ADS-B decoder + tui radar application
sapio - A Bitcoin Programming Language