proc_use_inline

Crates.ioproc_use_inline
lib.rsproc_use_inline
version0.1.1
sourcesrc
created_at2020-06-07 17:20:38.858343
updated_at2020-06-07 17:20:38.858343
descriptionA different syntax for mod and use
homepage
repositoryhttps://github.com/Shizcow/proc_use
max_upload_size
id251037
size10,727
Devin Pohl (Shizcow)

documentation

README

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");
}
Commit count: 77

cargo fmt