prae
syn
Our great sponsors
prae | syn | |
---|---|---|
6 | 19 | |
129 | 2,667 | |
- | - | |
0.0 | 9.6 | |
about 1 year ago | 5 days ago | |
Rust | Rust | |
The Unlicense | 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.
prae
-
Rust for Web Development | An Honest Evaluation
Regarding your macro system for "new nominal types" - are you talking about something in the vein of nutype or prae?
-
Nutype: the newtype with guarantees
Hey! I can't help but notice that this crate is way to similar to my crate prae. Did you see it? You even provide a similar example in the readme...
-
Patterns with Rust types
Since we’re talking about this topic, I want to shamelessly link my crate here: prae
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
Something like this should work pretty well, since it integrates with serde: https://github.com/teenjuna/prae
-
Help fight this conflicting implementation
Seems like .into_inner() would be a better choice. If you interested in the code, take a look! Linking related PR https://github.com/teenjuna/prae/pull/15
-
prae: a simple library that helps you keep your types valid
Meet prae. It provides a simple proc macro that allows you to do small things like this:
syn
- 对 RTIC 框架的探索
-
Launch HN: Diversion (YC S22) – Cloud-Native Git Alternative
[2] https://github.com/dtolnay/syn/issues/782
- syn v2.0.0 released
-
How to replicate inheritance (kinda) in Rust?
It looks to me like you are trying to make a syntax tree generic over arities. I suggest you take a look at the Expr enum in syn, its variant structs, and the ast_enum_of_structs_impl macro, which is a macro that implements a trait over different Expr variants with different fields.
-
Rust AST Explorer
Rust makes this project easy by providing the syn crate (parsing and formatting) and WASM (for interactivity). Source code lives at https://github.com/CarlKCarlK/rust-ast-explorer. Contributions welcome.
- Parser for Rust Source Code
-
Rust language parsers? Do you have any recommendations?
Perhaps there should, but if you look at the commit history you'll see that syn is maintained almost entirely by dtolnay (https://github.com/dtolnay/syn/graphs/contributors). Furthermore, with Rust continually adding new syntax that needs to be supported, syn can't be easy to maintain and most of the effort probably goes into making it work at all rather than optimisations.
- Syn - Parser for rust source code
- Syn – Parser for rust source code
What are some alternatives?
dropshot - expose REST APIs from a Rust program
rust-fsm - Finite state machine framework for Rust with readable specifications
silicon - Create beautiful image of your source code.
explaine.rs - An interactive Rust syntax playground
warp - A super-easy, composable, web server framework for warp speeds.
negate - Attribute macro that generates negated versions of`is_something` functions
routerify - A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs
proc-macro-workshop - Learn to write Rust procedural macros [Rust Latam conference, Montevideo Uruguay, March 2019]
rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust
astexplorer - A web tool to explore the ASTs generated by various parsers.
nutype - Rust newtype with guarantees 🇺🇦 🦀
todo_by - Compile-time lifetimes for comments.