Open
Description
Sharing a libudev context between threads is not safe (in rust terms a context is !Send
), even when guarded by a mutex. This means that a USB context that depends on libudev must also be !Send
. As a result, a Rust library needs to be created to talk to udev directly without using libudev.