affix-macro 1.0.0

Macros for affixing tokens to groups of other tokens.
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented5 out of 5 items with examples
  • Size
  • Source code size: 11.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 761.12 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Aseminaunz

affix-macro

Various macros to prefix, suffix, and circumfix tokens in Rust.

See the documentation for usage instructions and examples.

use ::affix_macro::prefix_items;

prefix_items! {
	( #[cfg(feature = "alloc")] )
	{
		extern crate alloc;

		use alloc::string::String;
	}
}