Ed Page
6419a0d937
perf!(lex): Build faster by removing os_str_bytes
...
We are doing direct transmutes between `OsStr` and `[u8]`.
https://github.com/rust-lang/rust/pull/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`
2023-03-25 01:59:24 -05:00
Ed Page
e78bba0ec5
chore: Release
2023-03-16 10:42:06 -05:00
Ed Page
dec82598b2
chore: Upgrade trycmd
2023-03-16 06:07:46 -05:00
Ed Page
6c0600a031
chore: Fully specify dependencies
2023-03-16 06:07:08 -05:00
renovate[bot]
8469554c17
chore(deps): update compatible (dev) ( #4741 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-01 04:51:19 +00:00
Ed Page
84a9b53cee
chore: Release
2023-02-27 04:20:28 -06:00
Ed Page
2deb372195
chore: Release
2023-02-23 11:56:20 -06:00
Ed Page
fb9435d026
chore: Release
2023-02-15 10:27:15 -06:00
Ed Page
90c042eeae
chore: Release
2023-01-23 13:05:20 -06:00
Ed Page
889ca7a537
chore: Bump versions for 4.1
2023-01-13 09:24:37 -06:00
Ed Page
fa02111092
chore: Switch to workspace inheritance
2023-01-09 12:35:54 -06:00
Ed Page
f25fe5b3e0
chore: Bump MSRV to 1.64.0
2023-01-09 12:29:41 -06:00
renovate[bot]
acfc493a35
chore(deps): update compatible (dev)
2023-01-01 02:25:24 +00:00
Ed Page
0eccd556ac
chore: Release
2022-12-22 12:40:15 -06:00
renovate[bot]
9b2b718df6
chore(deps): update dev
2022-12-01 21:38:13 +00:00
Ed Page
3262016c26
chore: Release
2022-11-24 11:40:15 -06:00
Ed Page
c75b81eeb8
chore: Release
2022-11-07 07:39:49 -06:00
Ed Page
b4b94af0f8
chore: Release
2022-11-07 06:24:02 -06:00
Ed Page
a24fb589eb
chore: Update trycmd
2022-11-04 10:27:57 -05:00
Ed Page
996636d56f
chore: Release
2022-10-18 14:37:53 -05:00
Ed Page
3e23cd102f
fix: Require release versions of clap
2022-10-18 14:36:44 -05:00
dependabot[bot]
f0d971562a
chore(deps): bump snapbox from 0.3.3 to 0.4.0
...
Bumps [snapbox](https://github.com/assert-rs/trycmd ) from 0.3.3 to 0.4.0.
- [Release notes](https://github.com/assert-rs/trycmd/releases )
- [Changelog](https://github.com/assert-rs/trycmd/blob/main/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/trycmd/compare/snapbox-v0.3.3...snapbox-v0.4.0 )
---
updated-dependencies:
- dependency-name: snapbox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 18:58:27 +00:00
Ed Page
80fb67edaa
chore: Release
2022-09-29 12:08:47 -05:00
Ed Page
bf42ff04d5
chore: Release
2022-09-28 15:34:33 -05:00
Ed Page
3a74d82376
chore: Release
2022-09-28 12:00:48 -05:00
Ed Page
a82029c707
chore: Release
2022-09-20 16:30:29 -05:00
Ed Page
af64699912
chore: Release
2022-09-20 16:28:27 -05:00
Ed Page
7a5dad89ff
feat(help): Break out help feature flag
...
This removes auto-generated help, saving about 50 KiB.
2022-09-19 11:54:10 -05:00
Ed Page
6bd4fee69f
chore: Update dependencies
2022-09-01 07:09:32 -05:00
Ed Page
3390adf0d3
chore: Bump MSRV to 1.60.0
...
While at it, this cleans up all of the features. For some reason, I
couldn't do `dep:clap_derive` though.
2022-08-10 21:32:06 -05:00
Ed Page
8aa7ab3e16
chore: Update version
...
The main goal is to reduce the risk of people developing on the wrong
release, assuming they are using something like starship to raise the
visibility of the crate version.
2022-07-23 21:43:37 -05:00
Ed Page
b4a1362486
chore: Release
2022-06-28 08:04:18 -05:00
Ed Page
3823df9bbe
chore: Release
2022-06-21 09:32:04 -05:00
Ed Page
ae78f88d48
Merge pull request #3852 from epage/msrv
...
chore: Bump MSRV from 1.56.0 to 1.56.1
2022-06-17 09:23:06 -05:00
Ed Page
82d70d82c4
chore: Bump MSRV from 1.56.0 to 1.56.1
...
Being a patch release, I'm fine doing this outside of a minor release.
This avoids us having to deal with indexmap having a higher MSRV.
2022-06-17 09:01:45 -05:00
Tshepang Mbambo
806f634bfa
chore: trim Cargo manifest fields whose values are defaults
...
See...
- https://doc.rust-lang.org/cargo/reference/manifest.html?#the-documentation-field
- https://doc.rust-lang.org/cargo/reference/manifest.html?#the-readme-field
2022-06-17 15:49:04 +02:00
Ed Page
650a29c18b
chore: Release
2022-06-13 09:37:47 -05:00
Ed Page
4e56acffce
chore: Release
2022-06-13 09:31:29 -05:00
Ed Page
2abb6804d3
fix: Switch to 2021 edition
2022-05-18 10:35:30 -05:00
Ed Page
d827364ea9
style: Normalize manifests
2022-05-18 10:33:37 -05:00
Ed Page
272334b26a
fix: List rust-version for all crates
2022-05-18 10:08:10 -05:00
Ed Page
95698a4f31
chore: Release
2022-05-06 09:39:24 -05:00
Ed Page
3ca1b77094
chore: Fix manifest
2022-04-30 06:37:57 -05:00
Ed Page
b01256be36
chore: Release
2022-04-30 06:36:33 -05:00
Ed Page
0c5400dadb
chore: Release
2022-04-30 06:35:57 -05:00
Ed Page
a574f226eb
feat(complete): Look up partial matches
2022-04-27 15:49:58 -05:00
Ed Page
9f9e410c6d
feat(complete): Minimal rust-completion
...
Inspired by argcomplete, this provides Rust-implemented completions
- Only bash for now
- No subcommand support
- No flag value support
- No special settings support
- No handling of positions within positionals
- No prioritizing of required or removing of conflicts (including
self-conflicts)
2022-04-27 15:49:58 -05:00
Ed Page
3d64ebacac
test(complete): Option to verify examples
2022-04-27 09:03:47 -05:00
Ed Page
0194568b03
chore: Release
2022-04-19 10:31:52 -05:00
Ed Page
02fe7659c0
test(complete): Switch to snapshot testing
...
- This will make it easier to update
- We now uniformly test each shell
2022-03-07 14:03:49 -06:00
Ed Page
1e286f3dc2
chore: Release
2022-03-02 09:20:00 -06:00
Ed Page
e6729f96c3
chore: Release
2022-02-16 11:59:45 -06:00
Ed Page
c4144d7d6c
docs: Update App references to Command
2022-02-14 15:33:49 -06:00
Ed Page
5c3868ea4c
chore: Release
2022-02-05 09:33:39 -06:00
Ed Page
e5b06c3061
chore: Release
2022-01-24 10:54:50 -06:00
Ed Page
7b7c76e3d0
chore: Release
2022-01-15 18:51:41 -06:00
Ed Page
3d8ce3f426
chore: Release
2022-01-12 11:12:42 -06:00
Ed Page
37f47dd260
docs: Add completion changelogs
2022-01-12 11:04:57 -06:00
Ed Page
d9906eb150
chore: Release
2022-01-04 09:49:41 -06:00
Ed Page
d392b88bd5
chore: Release
2022-01-03 12:12:28 -06:00
Ed Page
c01ebbac17
chore: Release
2021-12-31 14:35:02 -06:00
Ed Page
bc951e4e53
chore: Release
2021-12-31 13:37:28 -06:00
Ed Page
8d73a0e80f
chore: Release
2021-12-31 12:23:47 -06:00
Ed Page
88a335ff97
fix(complete): Give crates more specific names
...
`clap_generate` originally intended to be "generate anything". With
`fig`, we already broke one part out. With #3174 's man support, we are
also looking at keeping it separate:
- More freedom to iterate on the API
- Uniqueness (and potential weight) of its dependencies
- man generation is normally more for distribution while completions are
a mix of being distributed with the app or the app generating the
completions (which will be exacerbated if we move most completion
parsing logic to be in Rust)
So `clap_generate` is having a lot more limited of a role than the
original name conveys. I worry the generic name will be a hindrance to
people discovering and using it (yes, documentation can help but there
are limits).
I hesitated because we are on the verge of releasing 3.0. However, doing
it even later will be even more disruptive because more people will be
using it (crates.io lists ~70 people using `clap_generate`).
To ease things, we are still releasing `clap_generate` as a wrapper
around `clap_complete`.
2021-12-31 12:03:29 -06:00