Skip to content

Commit

Permalink
docs(generate): Move derive example to generate
Browse files Browse the repository at this point in the history
From a users perspective, `clap_derive` is baked into `clap`.
`clap_generate is an add on to `clap`.  So it seems best to have all
`clap_generate` examples in `clap_generate` where a user will look for
them.

Fixes #2939
  • Loading branch information
epage committed Oct 26, 2021
1 parent c0ac536 commit a065702
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion clap_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ proc-macro-error = "1"

[dev-dependencies]
clap = { path = "../" }
clap_generate = { path = "../clap_generate" }
trybuild = "1.0"
rustversion = "1"
version-sync = "0.9"
Expand Down
1 change: 1 addition & 0 deletions clap_generate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ clap = { path = "../", version = "=3.0.0-beta.5", default-features = false, feat
[dev-dependencies]
pretty_assertions = "0.7"
version-sync = "0.9"
clap = { path = "../", version = "=3.0.0-beta.5", default-features = false, features = ["std", "derive"] }

[features]
default = []
Expand Down
File renamed without changes.

0 comments on commit a065702

Please sign in to comment.