Compiling netmuxd v0.1.3 (/home/pi/netmuxd)
error[E0432]: unresolved import `rusb`
--> src/test.rs:3:5
|
3 | use rusb::{Device, UsbContext};
| ^^^^ use of undeclared crate or module `rusb`
error[E0433]: failed to resolve: use of undeclared crate or module `rusb`
--> src/test.rs:16:21
|
16 | let reg: Result<rusb::Registration<rusb::Context>, rusb::Error> = rusb::HotplugBuilder::new()
| ^^^^ use of undeclared crate or module `rusb`
error[E0433]: failed to resolve: use of undeclared crate or module `rusb`
--> src/test.rs:16:40
|
16 | let reg: Result<rusb::Registration<rusb::Context>, rusb::Error> = rusb::HotplugBuilder::new()
| ^^^^ use of undeclared crate or module `rusb`
error[E0433]: failed to resolve: use of undeclared crate or module `rusb`
--> src/test.rs:16:56
|
16 | let reg: Result<rusb::Registration<rusb::Context>, rusb::Error> = rusb::HotplugBuilder::new()
| ^^^^ use of undeclared crate or module `rusb`
error[E0433]: failed to resolve: use of undeclared crate or module `rusb`
--> src/test.rs:16:71
|
16 | let reg: Result<rusb::Registration<rusb::Context>, rusb::Error> = rusb::HotplugBuilder::new()
| ^^^^ use of undeclared crate or module `rusb`
error[E0433]: failed to resolve: use of undeclared crate or module `rusb`
--> src/test.rs:29:21
|
29 | impl<T: UsbContext> rusb::Hotplug<T> for Handler {
| ^^^^ use of undeclared crate or module `rusb`
error[E0433]: failed to resolve: use of undeclared crate or module `rusb`
--> src/test.rs:9:25
|
9 | let context = rusb::Context::new().unwrap();
| ^^^^^^^ not found in `rusb`
|
help: consider importing one of these items
|
3 | use core::task::Context;
|
3 | use futures_util::task::Context;
|
3 | use std::task::Context;
|
help: if you import `Context`, refer to it directly
|
9 - let context = rusb::Context::new().unwrap();
9 + let context = Context::new().unwrap();
|
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `netmuxd` due to 7 previous errors```