lambda-fairy / maud

:pencil: Compile-time HTML templates for Rust
https://maud.lambda.xyz
Apache License 2.0
1.98k stars 132 forks source link

"can't find crate" maud_macros #385

Closed J-295 closed 11 months ago

J-295 commented 11 months ago

Hi, when I do what is said on the getting started page, i get the following error when trying to compile:

17 | pub use maud_macros::html;
   |         ^^^^^^^^^^^ can't find crate

I have tried installing "maud_macros" with cargo but this didn't work, and I am unsure how else I might fix the issue.

cargo/rustc version 1.71.0

J-295 commented 11 months ago

I fixed this by deleting the target/ directory.