https://github.com/quadrupleslap/id
A very serious and useful library that is sure to help you very much.
https://github.com/quadrupleslap/id
identifier macro rust serious useful
Last synced: about 1 year ago
JSON representation
A very serious and useful library that is sure to help you very much.
- Host: GitHub
- URL: https://github.com/quadrupleslap/id
- Owner: quadrupleslap
- Created: 2018-01-08T18:33:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T18:34:01.000Z (over 8 years ago)
- Last Synced: 2025-04-08T14:49:11.661Z (about 1 year ago)
- Topics: identifier, macro, rust, serious, useful
- Language: Rust
- Size: 1000 Bytes
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# id
Make unique identifiers.
```toml
[dependencies]
id = "0.1"
```
## Usage
```rust
#[macro_use]
extern crate id;
...
let x = id!();
```
Each ID identifies a unique point in the source code, so you can't make more of them at runtime with a loop, nor with other such shenanigans.
## License
Just take the code and do whatever you want with it, which I assume isn't much, because this library is pretty much useless.