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

macro limnus-macros

macros specific for the limnus types

1 unstable release

new 0.0.10 Nov 24, 2024

#2573 in Game dev


Used in 8 crates (3 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.10"

License

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

Dependencies

~235–680KB
~16K SLoC