dodorare / crossbow

Cross-Platform build tools and toolkit for games and game engines written in Rust! 🦀

Home Page:https://crossbow.dodorare.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with compilation crossbundle

KamilM1205 opened this issue · comments

When I'm trying to compile crossbundle, I'm catching error.

error: cannot find derive macro `Parser` in this scope
--> crossbundle/cli/src/commands/build/android.rs:15:10
|
15 | #[derive(Parser, Clone, Debug)]
| ^^^^^^
|
note: `Parser` is imported here, but it is only a trait, without a derive macro
--> crossbundle/cli/src/commands/build/android.rs:4:5
|
4 | use clap::Parser;
| ^^^^^^^^^^^^

I fixed it by editing crossbandle/cli/Cargo.toml. I changed clap = "3.0.0-beta.5" to clap = {version = "3.0.0-beta.5", features = [ "derive" ] }

commented

Closing as clap minor version released, and we moved to it.