macro_const

Crates.iomacro_const
lib.rsmacro_const
version0.1.0
sourcesrc
created_at2020-08-25 00:42:56.026189
updated_at2020-08-25 00:42:56.026189
descriptionA macro for creating corresponding macro definitions for constants which evaluate to the same values.
homepage
repositoryhttps://github.com/Cassy343/macro_const
max_upload_size
id280342
size4,527
Ian Smith (Cassy343)

documentation

README

macro_const

Creates corresponding macro definitions for constants, allowing the value of the constants to be used in the context of other macros.

This utility is mostly just for convenience, and for those who did not wish to write the macro themself.

Usage

This crate is available on crates.io. Use the most recent version of this crate when adding it to your dependencies as shown below.

[dependencies]
macro_const = "0.1.0"

View the documentation here for examples.

Commit count: 4

cargo fmt