Crates.io | macro_const |
lib.rs | macro_const |
version | 0.1.0 |
source | src |
created_at | 2020-08-25 00:42:56.026189 |
updated_at | 2020-08-25 00:42:56.026189 |
description | A macro for creating corresponding macro definitions for constants which evaluate to the same values. |
homepage | |
repository | https://github.com/Cassy343/macro_const |
max_upload_size | |
id | 280342 |
size | 4,527 |
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.
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.