could not find `im` in `druid` [druid] - TagMerge

could not find `im` in `druid`

hu76589Asked 5 months ago

When compile the example "list", there is a error: error[E0432]: unresolved import druid::im --> src\main.rs:20:12 | 20 | use druid::im::{vector, Vector}; | ^^ could not find im in druid

why?

Source: link

Maan2003Answered 5 months ago

enable feature im

cmyrAnswered 5 months ago

yep, cargo run --example=list --features=im should work?

hu76589Answered 5 months ago

like this: [dependencies] druid = { version = "0.7.0", features = ["im"] }

Recent Issues

    Programming Languages