#derive #game #macro #type #limnus #traits

macro limnus-macros

macros specific for the limnus types

3 releases

0.0.12 Dec 3, 2024
0.0.11 Nov 30, 2024
0.0.10 Nov 24, 2024

#13 in #limnus

Download history 136/week @ 2024-11-23 553/week @ 2024-11-30 265/week @ 2024-12-07 70/week @ 2024-12-14 38/week @ 2024-12-21 65/week @ 2024-12-28

449 downloads per month
Used in 40 crates (5 directly)

MIT license

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

~220–660KB
~16K SLoC