DioxusLabs / manganis

An asset system for the Rust ecosystem
39 stars 12 forks source link

can't find crate for `manganis_macro` #68

Open 594212 opened 1 month ago

594212 commented 1 month ago

Problem manganis can't compile when executing cargo build or dx serve

error[E0463]: can't find crate for `manganis_macro`
 --> /home/sul/.cargo/registry/src/index.crates.io-6f17d22bba15001f/manganis-0.2.2/src/lib.rs:4:9
  |
4 | pub use manganis_macro::*;
  |         ^^^^^^^^^^^^^^ can't find crate

For more information about this error, try `rustc --explain E0463`.
error: could not compile `manganis` (lib) due to 1 previous error

Steps To Reproduce

dx serve

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots image

Environment:

Questionnaire

ealmloff commented 1 month ago

Can you share the code you ran into this issue with? I was not able to reproduce this issue with a blank project and the dependency manganis = "0.2.2"

594212 commented 1 month ago

Sorry for late. I get this error in plain project

dx new

image image