chinedufn / psd

A Rust API for parsing and working with PSD files.
https://chinedufn.github.io/psd
Apache License 2.0
265 stars 40 forks source link

error[E0432]: unresolved import `virtual_node::DynClosure` #30

Closed katopz closed 2 years ago

katopz commented 2 years ago

Maybe only me, I got this when try to build an example.

error[E0432]: unresolved import `virtual_node::DynClosure`
 --> /Users/katopz/.cargo/registry/src/github.com-1ecc6299db9ec823/virtual-dom-rs-0.6.14/src/dom_updater.rs:6:5
  |
6 | use virtual_node::DynClosure;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^ no `DynClosure` in the root

Any hint?

chinedufn commented 2 years ago

Hey!

Ah yes, the example needs to be updated to percy-dom = 0.7 instead of the new deprecated virtual-dom-rs.