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

macro limnus-macros

macros specific for the limnus types

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

Download history 121/week @ 2024-11-20 442/week @ 2024-11-27 272/week @ 2024-12-04 155/week @ 2024-12-11 38/week @ 2024-12-18 87/week @ 2024-12-25 46/week @ 2025-01-01 808/week @ 2025-01-08 225/week @ 2025-01-15 62/week @ 2025-01-22 24/week @ 2025-01-29 31/week @ 2025-02-05 35/week @ 2025-02-12 71/week @ 2025-02-19 106/week @ 2025-02-26

251 downloads per month
Used in 48 crates (7 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.17"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~200–640KB
~15K SLoC