8 releases
new 0.0.17 | Mar 6, 2025 |
---|---|
0.0.16 | Jan 14, 2025 |
0.0.12 | Dec 3, 2024 |
0.0.11 | Nov 30, 2024 |
#20 in #limnus
251 downloads per month
Used in 48 crates
(7 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.17"
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~200–640KB
~15K SLoC