# `randsym`
Creates unique identifiers for macros.
[](https://github.com/DexterHill0/randsym)
[](https://crates.io/crates/randsym)
[](https://docs.rs/randsym)
`randsym` generates unique identifiers using UUID. The unique identifiers can be used to simply avoid conflicts between items that may otherwise have had the same identifier, as well as being bound to names allowing the same identifiers to be repeated.
The syntax is as follows:
- `/?/` - random identifier
- `/?@the_ident/` - random identifier bound to the name `the_ident`
### Examples:
**No binding**
```rs
randsym::randsym! {
fn /?/ () -> String {
"I have a random name!".into()
}
}
```
**With binding**
```rs
randsym::randsym! {
fn /?@my_fn/ () -> String {
"I have a random name!".into()
}
println!("{}", /?@my_fn/()); // "I have a random name!"
}
```