macro_const 0.1.0

A macro for creating corresponding macro definitions for constants which evaluate to the same values.
Documentation

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.