A standalone republication of the netstack3 lock-ordering crate, part of Google's Fuchsia OS. This crate was named lock_tree due to a crates.io conflict.
lock_tree empowers you to prevent deadlocks at compile time, providing traits that enforce lock ordering statically.
All credit (and indeed the copyright) for this work belongs to the Fuchsia team – see the LICENSE for details.