5 releases
Uses old Rust 2015
0.2.4 | Apr 23, 2021 |
---|---|
0.2.3 | Mar 17, 2019 |
0.2.2 | Jan 11, 2016 |
0.2.1 | Dec 9, 2015 |
0.1.0 |
|
#51 in #user-input
Used in 2 crates
39KB
545 lines
rust-naughty-strings
Rust binding of minimaxir's Big List Of Naughty Strings.
The crate only provides one array naughty_strings::BLNS : &'static [&'static str]
:
extern crate naughty_strings;
fn main() {
for ns in naughty_strings::BLNS {
println!("{}", ns);
}
}
crates.io
The crate is on crates.io.
Generate the library
The library is generated with cargo run --bin make-lib [PATH-TO-BLNS-REPO]
(PATH-TO-BLNS-REPO
defaults to minimaxir's repo).
This generates the sole file src/lib.rs.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Contributions are welcome, Just open an issue or make a pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~0.5–1MB
~20K SLoC