Open ghost opened 5 years ago
orange@orange:~/work/node-webrender$ cargo run Compiling node-webrender v0.1.0 (/home/orange/work/node-webrender) error[E0603]: module units is private --> src/main.rs:9:21 | 9 | use webrender::api::units::*; | ^^^^^
units
cargo.toml
[dependencies] webrender ="0.60.0"
I believe in 0.60 version the units are re-exported at the root of the API crate, so instead you'd do use webrender::api::{SomeUnit, AnotherUnit, etc}
use webrender::api::{SomeUnit, AnotherUnit, etc}
orange@orange:~/work/node-webrender$ cargo run Compiling node-webrender v0.1.0 (/home/orange/work/node-webrender) error[E0603]: module
units
is private --> src/main.rs:9:21 | 9 | use webrender::api::units::*; | ^^^^^cargo.toml
[dependencies] webrender ="0.60.0"