I explicitly only use it with features --derive. It let’s you write the cli option setup as a struct, which feels super natural to me. That’s why I know for a fact it works well. Look in your Cargo.toml under the section [dependencies] there should be an entry for clap: clap = { version = "4.5.41", features = ["derive"] } is mine. Right now version 4.5.48 is the newest I think.
Also from your previous reply, what do you mean “unless i do the implied version, but then it can’t derive features”? I don’t know why you shouldn’t be able to use derive. I’m no expert either BTW, just wondering what went wrong.
I explicitly only use it with
features --derive
. It let’s you write the cli option setup as astruct
, which feels super natural to me. That’s why I know for a fact it works well. Look in your Cargo.toml under the section[dependencies]
there should be an entry for clap:clap = { version = "4.5.41", features = ["derive"] }
is mine. Right now version 4.5.48 is the newest I think.Also from your previous reply, what do you mean “unless i do the implied version, but then it can’t derive features”? I don’t know why you shouldn’t be able to use derive. I’m no expert either BTW, just wondering what went wrong.
Edit: typo