3 releases
new 0.0.12 | Dec 3, 2024 |
---|---|
0.0.11 | Nov 30, 2024 |
0.0.10 | Nov 24, 2024 |
#13 in #limnus
382 downloads per month
Used in 37 crates
(5 directly)
6KB
58 lines
limnus-macros 🧱
limnus-macros
is a procedural macro crate designed to simplify the implementation of common traits for limnus-resource type
in Rust applications. It provides a convenient way to derive the Resource
trait for your types.
✨ Features
- Derive Macro: Automatically implement the
Resource
trait for your structs. - Type Safety: Ensures that only types marked as resources can be stored and managed by limnus-resource.
- Ease of Use: Reduce boilerplate code when implementing traits for multiple types.
📦 Installation
To use limnus-macros
, add it to your Cargo.toml
:
[dependencies]
limnus-macros = "0.0.12"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~215–650KB
~15K SLoC