path_ratchet 0.3.2

Prevent path traversal attacks at type level
Documentation
1
2
3
4
5
6
7
8
9
10
11
cognitive-complexity-threshold = 5

disallowed-types = [
  { path = "std::collections::HashMap", reason = "use the faster `ahash` or concurrent `dashmap` crate instead" },
  { path = "std::collections::HashSet", reason = "use the faster `ahash` or concurrent `dashmap` crate instead" },

  { path = "std::sync::Mutex", reason = "use the faster `parking_lot` crate instead" },
  { path = "std::sync::RwLock", reason = "use the faster `parking_lot` crate instead" },
  { path = "std::sync::Condvar", reason = "use the faster `parking_lot` crate instead" },
  { path = "std::sync::Once", reason = "use the faster `parking_lot` crate instead" },
]