When importing the 'drm' module with use drm::drm (or use drm::*), cargo check returns the E0659 error: "drm` is ambiguous", as rustc can not differentiate between the 'drm' library and module it seems. Since writing 'drm::drm' each time to use something from that module seems like a hassle, is there any way to change the name of either the library within Cargo.toml (the lib.name key to be precise) or the name of the 'drm' module within lib.rs?
Thanks
When importing the 'drm' module with
use drm::drm(oruse drm::*), cargo check returns the E0659 error: "drm` is ambiguous", as rustc can not differentiate between the 'drm' library and module it seems. Since writing 'drm::drm' each time to use something from that module seems like a hassle, is there any way to change the name of either the library within Cargo.toml (the lib.name key to be precise) or the name of the 'drm' module within lib.rs?Thanks