Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: clap-rs/clap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.13
Choose a base ref
...
head repository: clap-rs/clap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.14
Choose a head ref
  • 19 commits
  • 89 files changed
  • 3 contributors

Commits on Mar 18, 2023

  1. 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
    epage committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    7e7a45a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Merge pull request #4783 from epage/perf

    perf(derive): Reduce the amount of generated code
    epage authored Mar 24, 2023
    Configuration menu
    Copy the full SHA
    e626dd4 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2023

  1. doc: Clean up cfgs

    epage committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    5d0fbb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b65ede View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d9a641b View commit details
    Browse the repository at this point in the history
  4. 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
    epage committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    4e1a565 View commit details
    Browse the repository at this point in the history
  5. perf!(lex): Build faster by removing os_str_bytes

    We 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`
    epage committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    6419a0d View commit details
    Browse the repository at this point in the history
  6. feat(derive): Support #[group] attributes

    This adds the ability derive additional options for the group creation.
    
    Fixes #4574
    klnusbaum authored and epage committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    5430df7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ea4dada View commit details
    Browse the repository at this point in the history
  8. docs: Update changelog

    epage committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    765c2e1 View commit details
    Browse the repository at this point in the history
  9. chore: Release

    epage committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    2bb4146 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. docs(clap_complete): The file name of the command in the clap_complet…

    …e example documentation was not supported, so it has been updated
    mochi-sann committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    7c6cf81 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4789 from mochi-sann/fix-clap_ocmplete-example-doc

    docs(clap_complete): clap_complete example documentation updated with corresponding file names
    epage authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    57d1c39 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #4790 from epage/doc

    doc: Clean up cfgs
    epage authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    615c1dc View commit details
    Browse the repository at this point in the history
  4. Merge pull request #4791 from epage/builder

    refactor: Split out clap_builder for faster derive builds
    epage authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    9712987 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #4794 from epage/osstr

    perf!(lex): Build faster by removing `os_str_bytes`
    epage authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    627a94f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #4795 from epage/required_group

    feat(derive): Support `#[group]` attributes
    epage authored Mar 27, 2023
    Configuration menu
    Copy the full SHA
    a916daa View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Merge pull request #4796 from epage/lex

    fix(lex): Allow reporting errors for non-UTF8 longs
    epage authored Mar 28, 2023
    Configuration menu
    Copy the full SHA
    6696513 View commit details
    Browse the repository at this point in the history
  2. chore: Release

    epage committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    2852653 View commit details
    Browse the repository at this point in the history
Loading