https://github.com/brainiumllc/reserved-names
The reserved name lists from cargo's `restricted_names.rs` in a convenient lil crate!
https://github.com/brainiumllc/reserved-names
Last synced: about 1 month ago
JSON representation
The reserved name lists from cargo's `restricted_names.rs` in a convenient lil crate!
- Host: GitHub
- URL: https://github.com/brainiumllc/reserved-names
- Owner: BrainiumLLC
- License: apache-2.0
- Created: 2020-08-07T21:33:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-03T17:36:31.000Z (about 4 years ago)
- Last Synced: 2025-01-18T10:32:26.189Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `reserved-names`
The reserved name lists from cargo's [`restricted_names.rs`](https://github.com/rust-lang/cargo/blob/5fe8ab57e2a88ccaaab0821c306203eb19edf8fd/src/cargo/util/restricted_names.rs) in a convenient lil crate!
```rust
assert!(reserved_names::is_reserved("let"));
```