-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Comparing changes
Open a pull request
base repository: clap-rs/clap
base: v4.1.13
head repository: clap-rs/clap
compare: v4.1.14
- 19 commits
- 89 files changed
- 3 contributors
Commits on Mar 18, 2023
-
perf(derive): Reduce the amount of generated code
Its a small win, dropping the number of copies and reducing the overhead from `quote` but enough of these could make a difference
Configuration menu - View commit details
-
Copy full SHA for 7e7a45a - Browse repository at this point
Copy the full SHA 7e7a45aView commit details
Commits on Mar 24, 2023
-
Merge pull request #4783 from epage/perf
perf(derive): Reduce the amount of generated code
Configuration menu - View commit details
-
Copy full SHA for e626dd4 - Browse repository at this point
Copy the full SHA e626dd4View commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5d0fbb4 - Browse repository at this point
Copy the full SHA 5d0fbb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b65ede - Browse repository at this point
Copy the full SHA 5b65edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a641b - Browse repository at this point
Copy the full SHA d9a641bView commit details -
refactor: Split out clap_builder for faster derive builds
For now, we are still treating `clap` as the user facing API for both builder and derive, making this an internal change as we don't expect this to negatively impact builder build times all that much. We can re-evaluate at a later time and consider having distinct top-level crates for builder and derive. Looking at `--timings` on my machine - `clap` only took 0.04s to build and it happened in parallel to `clap_builder` codegen - this saved 1.7s for derive build times, with `clap_builder` building in parallel to `syn` and `clap_builder` and `clap_derive` finishing around the same time. This was discussed some at https://rust-lang.zulipchat.com/#narrow/stream/220302-wg-cli/topic/clap.20build.20times.20and.20.60clap_derive.60.3A.20a.20crazy.20idea
Configuration menu - View commit details
-
Copy full SHA for 4e1a565 - Browse repository at this point
Copy the full SHA 4e1a565View commit details -
perf!(lex): Build faster by removing
os_str_bytesWe are doing direct transmutes between `OsStr` and `[u8]`. rust-lang/rust#95290 would make this natively supported but I got tired of waitin for it. This only saves about 1/4s off of `cargo build`. This took 2.9 KiB off of `cargo bloat --release --example git`
Configuration menu - View commit details
-
Copy full SHA for 6419a0d - Browse repository at this point
Copy the full SHA 6419a0dView commit details -
feat(derive): Support
#[group]attributesThis adds the ability derive additional options for the group creation. Fixes #4574
Configuration menu - View commit details
-
Copy full SHA for 5430df7 - Browse repository at this point
Copy the full SHA 5430df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea4dada - Browse repository at this point
Copy the full SHA ea4dadaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 765c2e1 - Browse repository at this point
Copy the full SHA 765c2e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb4146 - Browse repository at this point
Copy the full SHA 2bb4146View commit details
Commits on Mar 27, 2023
-
docs(clap_complete): The file name of the command in the clap_complet…
…e example documentation was not supported, so it has been updated
Configuration menu - View commit details
-
Copy full SHA for 7c6cf81 - Browse repository at this point
Copy the full SHA 7c6cf81View commit details -
Merge pull request #4789 from mochi-sann/fix-clap_ocmplete-example-doc
docs(clap_complete): clap_complete example documentation updated with corresponding file names
Configuration menu - View commit details
-
Copy full SHA for 57d1c39 - Browse repository at this point
Copy the full SHA 57d1c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 615c1dc - Browse repository at this point
Copy the full SHA 615c1dcView commit details -
Merge pull request #4791 from epage/builder
refactor: Split out clap_builder for faster derive builds
Configuration menu - View commit details
-
Copy full SHA for 9712987 - Browse repository at this point
Copy the full SHA 9712987View commit details -
Merge pull request #4794 from epage/osstr
perf!(lex): Build faster by removing `os_str_bytes`
Configuration menu - View commit details
-
Copy full SHA for 627a94f - Browse repository at this point
Copy the full SHA 627a94fView commit details -
Merge pull request #4795 from epage/required_group
feat(derive): Support `#[group]` attributes
Configuration menu - View commit details
-
Copy full SHA for a916daa - Browse repository at this point
Copy the full SHA a916daaView commit details
Commits on Mar 28, 2023
-
Merge pull request #4796 from epage/lex
fix(lex): Allow reporting errors for non-UTF8 longs
Configuration menu - View commit details
-
Copy full SHA for 6696513 - Browse repository at this point
Copy the full SHA 6696513View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2852653 - Browse repository at this point
Copy the full SHA 2852653View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.1.13...v4.1.14