forked from mikialex/rendiation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclippy.toml
11 lines (10 loc) · 925 Bytes
/
clippy.toml
1
2
3
4
5
6
7
8
9
10
11
# we have to keep this file, because this can not configured in workspace Cargo.toml
disallowed-types = [
{ path = "std::collections::BTreeMap", reason = "should use fast hashmap if possible for better performance" },
{ path = "std::collections::HashMap", reason = "should use fast hashmap if possible for better performance" },
{ path = "std::collections::BTreeSet", reason = "should use fast hashset if possible for better performance" },
{ path = "std::collections::HashSet", reason = "should use fast hashset if possible for better performance" },
{ path = "std::collections::hash_map::DefaultHasher", reason = "should use fast hasher if possible for better performance" },
{ path = "std::sync::RwLock", reason = "should use parking_lot::RwLock if possible for better ergonomics" },
{ path = "std::sync::Mutex", reason = "should use parking_lot::Mutex if possible for better ergonomics" },
]