macro-ob

Crates.iomacro-ob
lib.rsmacro-ob
version0.1.3
sourcesrc
created_at2020-11-10 01:13:28.476198
updated_at2020-11-10 17:47:50.104496
descriptiona macro to inline rot13 to confuse IDEs
homepagehttps://github.com/10maurycy10/MacroOb
repositoryhttps://github.com/10maurycy10/MacroOb.git
max_upload_size
id310537
size2,858
(10maurycy10)

documentation

README

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()))
}
Commit count: 4

cargo fmt