proc_use_inline 0.1.1

A different syntax for mod and use
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 10.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 294.51 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Shizcow/proc_use
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Shizcow gluax

proc_use_inline

proc_use_inline is a Rust crate offering an alternate syntax for mod and use statements. Take the following Rust code:

mod foo;
use foo::*;

use itertools::*;

#[path = "../other/ext.rs"]
mod ext;

This literally translates into:

proc_macro_inline::proc_macro_inline! {
	#[mod]
	use foo::*;
	
	use itertools::*;
	
	mod("../other/ext.rs");
}