smart-cache-macro 0.2.0

Procedural macros for smart-cache
Documentation
1
2
3
4
5
6
7
8
9
10
use smart_cache_macro::cached;

#[cached]
fn takes_ref(s: String) -> String {
    s
}

fn main() {
    takes_ref("hello".to_string());
}