You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running cargo install mdbook-catppuccin or cargo install --git https://github.com/catppuccin/mdBook will result to an error E0432
Output from running the command with just
Compiling hyper v0.14.27
Compiling warp v0.3.5
Compiling mdbook v0.4.32
Compiling mdbook-catppuccin v0.2.0
error[E0432]: unresolved import `clap::crate_version`
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mdbook-catppuccin-0.2.0/src/bin/mdbook-catppuccin.rs:3:12
|
3 | use clap::{crate_version, Arg, ArgMatches, Command};
| ^^^^^^^^^^^^^ no `crate_version` in the root
error: cannot determine resolution for the macro `crate_version`
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mdbook-catppuccin-0.2.0/src/bin/mdbook-catppuccin.rs:29:18
|
29 | .version(crate_version!())
| ^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
For more information about this error, try `rustc --explain E0432`.
error: could not compile `mdbook-catppuccin` (bin "mdbook-catppuccin") due to 2 previous errors
error: failed to compile `mdbook-catppuccin v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installj2MPyu`
error: Recipe `get-deps-book` failed on line 38 with exit code 101
The text was updated successfully, but these errors were encountered:
I've pushed dde0c18 which should have fixed this, I've tested it out by running cargo install --git https://github.com/catppuccin/mdBook and I'll make a release/publish to cargo soon!
Running
cargo install mdbook-catppuccin
orcargo install --git https://github.com/catppuccin/mdBook
will result to an errorE0432
Output from running the command with
just
The text was updated successfully, but these errors were encountered: