2024-08-25 17:54:04 -04:00
|
|
|
disallowed-types = [
|
|
|
|
# Inefficient. Use `.queue(…)` instead.
|
|
|
|
"crossterm::style::Stylize",
|
|
|
|
"crossterm::style::styled_content::StyledContent",
|
|
|
|
]
|
|
|
|
|
|
|
|
disallowed-methods = [
|
|
|
|
# We use `ahash` instead of the default hasher.
|
|
|
|
"std::collections::HashSet::new",
|
|
|
|
"std::collections::HashSet::with_capacity",
|
|
|
|
# Inefficient. Use `.queue(…)` instead.
|
|
|
|
"crossterm::style::style",
|
2024-09-06 09:40:25 -04:00
|
|
|
# Use `thread::Builder::spawn` instead and handle the error.
|
|
|
|
"std::thread::spawn",
|
|
|
|
"std::thread::Scope::spawn",
|
2024-10-13 16:02:41 -04:00
|
|
|
# Return `ExitCode` instead.
|
|
|
|
"std::process::exit",
|
2024-08-25 17:54:04 -04:00
|
|
|
]
|