1 unstable release

0.1.3 Nov 10, 2020
0.1.1 Nov 10, 2020
0.1.0 Nov 10, 2020

#920 in Procedural macros

48 downloads per month

GPL-3.0+

3KB

macro-ob

Abstract:

macro-ob is a symple program to demonstrate the dificulty of smart completions in rust macros. this is done by allowing the inlining of rot13 in code. this is only the start of what can be done with macros.

example

Cargo.toml

macro-ob = "0.1.3"

main.rs

use macro_ob;   
rot!(
    sa pbqrq() -> Fgevat {
        "literals are not changed for tecnical resions".gb_fgevat()
    }
)
fn main {
    println!("{}", rot!(pbqrq()))
}

Dependencies

~2KB