Commit graph

7273 commits

Author SHA1 Message Date
Ed Page
afd6a45ef7 chore: Use workspace inheritance 2023-03-29 14:53:08 -05:00
Ed Page
083884043c chore: Update release process 2023-03-29 14:51:13 -05:00
Ed Page
2768727452 chore: Don't set rustflags by default
Doing so can cause unnecessary recompilation
2023-03-29 14:46:23 -05:00
Ed Page
afeff23549 chore(ci): Quote strings in yaml 2023-03-29 14:41:29 -05:00
Ed Page
614b0a2376 docs(contrib): Remove reference to travis 2023-03-29 14:40:57 -05:00
Ed Page
29b981c5a6
Merge pull request #1 from epage/renovate/rust-1.x
chore(deps): update msrv to v1.65.0
2023-03-31 19:38:37 -05:00
renovate[bot]
fbaab420b9
chore(deps): update msrv to v1.65.0 2023-04-01 00:32:08 +00:00
Ed Page
d6b4446cd7 docs: Set changelog base 2023-03-29 14:33:42 -05:00
Ed Page
e7b7555d15 chore: First step 2023-03-29 14:33:22 -05:00
Ed Page
3ef784b516 chore: Release 2023-03-28 13:30:03 -05:00
Ed Page
6e1b6599d7
Merge pull request #4810 from epage/fixx
fix(error): Don't highlight 'similar'
2023-03-29 13:52:49 -05:00
Ed Page
58615a1306 fix(error): Don't highlight 'similar' 2023-03-28 10:00:30 -05:00
Ed Page
8f45d2f95a docs(derive): Reword opt-out 2023-03-28 08:34:29 -05:00
Ed Page
06d190751a docs(derive): Clarify opt-out of special type behavior
Inspired by #4808
2023-03-28 08:13:28 -05:00
Ed Page
8fc65e28b6 chore: Release 2023-03-28 02:19:08 -05:00
Ed Page
21be636cec docs: Update changelog 2023-03-28 02:17:42 -05:00
Ed Page
4ed6ddb74d
Merge pull request #4805 from epage/replace
fix!: Remove `unstable-replace` feature flag
2023-03-28 11:45:08 -05:00
Ed Page
79be4bd98d chore: Release 2023-03-28 00:48:10 -05:00
Ed Page
47b397dff4 docs: Update changelog 2023-03-28 00:47:37 -05:00
Ed Page
2c19accd6c
Merge pull request #4803 from epage/osstr
fix(lex): Clarify unsafe safety
2023-03-28 11:28:37 -05:00
Ed Page
5b101eb84c
Merge pull request #4804 from epage/unstable
fix!: Remove stablized `unstable-grouped` feature
2023-03-28 11:22:00 -05:00
Ed Page
4b180f8cd0
Merge pull request #4802 from epage/osstr
fix(lex): Deprecate unsound `OsStrExt::split_at`
2023-03-28 10:00:48 -05:00
Ed Page
53cb165b3f
Merge pull request #4798 from epage/similar
fix(error): Give more idea why we are suggesting an arg
2023-03-28 06:24:24 -05:00
Ed Page
56fe5e0ec0 fix!: Remove unstable-replace feature flag
This has been implemented for 3 years without much traction for
finishing it up.

The subcommand use case can be worked around by creating `Command`s that
just include the relevant logic, very similar to the default subcommand
examples in `git` / `git-derive`.

Using this for flags is covered by #4793.

Without `unstable-replace` being enabled, this still cut 5 KiB from
`cargo bloat --release --example git`.

Closes #2836
Closes #2011
2023-03-28 00:26:45 -05:00
Ed Page
d5089b2672 fix!: Remove stablized unstable-grouped feature 2023-03-28 00:22:40 -05:00
Ed Page
73e40258ca fix(lex): Clarify unsafe safety
This is a followup to comments on #4802
2023-03-28 00:18:53 -05:00
Ed Page
48dc66f652 fix(clap_lex): Deprecate unsound OsStrExt::split_at 2023-03-27 23:32:30 -05:00
Ed Page
56dc953617 doc(lex): Clarify safety of unsafe 2023-03-27 23:26:41 -05:00
Ed Page
e36ae19d4a
Merge pull request #4797 from epage/gruff
fix(error): Change from neutral 'note' to helpful 'tip'
2023-03-27 22:19:38 -05:00
Ed Page
52eab28f1d
Merge pull request #4765 from epage/anstream
feat(help): Allow user-provided styled text in `StyledStr`
2023-03-27 21:45:21 -05:00
Ed Page
fa60e723fc fix(error): Give more idea why we are suggesting an arg
One challenge with this is finding something that generally works.
Making this work perfectly for one setting will make it inconsistent
with other settings and take up more binary size / compile time.

So in the end, I felt like just mirroring rustc (with a bit more
brevity) seemed like a decent experiment.  This will be evaluated by the
feedback on release.

This is a small part of #4638
2023-03-27 20:45:27 -05:00
Ed Page
234d5f91d1 fix(error): Change from neutral 'note' to helpful 'tip'
This also has the advantage of aligning with `error:`

This is a small part of #4638
2023-03-27 20:45:11 -05:00
Ed Page
b6432c8ead docs(help): Show how to style text
Fixes #3108
Fixes #1433
2023-03-27 19:47:16 -05:00
Ed Page
5ebcb4c3bf feat(builder): Allow write! on StyledStr 2023-03-27 19:46:23 -05:00
Ed Page
f19e33eb27 perf(help): Reduce binary size 2023-03-27 19:46:22 -05:00
Ed Page
9516fd928f refactor(version): Directly convert rendered to styled 2023-03-27 19:45:41 -05:00
Ed Page
6255229a9c refactor: Remove extra layer of AnsiDisplay 2023-03-27 19:45:41 -05:00
Ed Page
1773884715 refactor(help): Simplify writing 2023-03-27 19:45:41 -05:00
Ed Page
bdbfe6470f refactor(help): Track style via ANSI codes 2023-03-27 19:45:41 -05:00
Ed Page
1040114162 feat(help): Respect CLICOLOR, CLICOLOR_FORCE
We might have respected `NO_COLOR` before via `termcolor`.

See #4722
2023-03-27 19:45:39 -05:00
Ed Page
2852653656 chore: Release 2023-03-27 19:41:39 -05:00
Ed Page
2bb4146374 chore: Release 2023-03-25 03:56:28 -05:00
Ed Page
765c2e18f5 docs: Update changelog 2023-03-25 03:56:05 -05:00
Ed Page
6696513dec
Merge pull request #4796 from epage/lex
fix(lex): Allow reporting errors for non-UTF8 longs
2023-03-27 19:28:48 -05:00
Ed Page
a916daad57
Merge pull request #4795 from epage/required_group
feat(derive): Support `#[group]` attributes
2023-03-27 18:39:09 -05:00
Ed Page
627a94f502
Merge pull request #4794 from epage/osstr
perf!(lex): Build faster by removing `os_str_bytes`
2023-03-27 16:22:46 -05:00
Ed Page
9712987b80
Merge pull request #4791 from epage/builder
refactor: Split out clap_builder for faster derive builds
2023-03-27 11:32:10 -05:00
Ed Page
615c1dc6a0
Merge pull request #4790 from epage/doc
doc: Clean up cfgs
2023-03-27 10:12:15 -05:00
Ed Page
57d1c39dc5
Merge pull request #4789 from mochi-sann/fix-clap_ocmplete-example-doc
docs(clap_complete): clap_complete example documentation updated with corresponding file names
2023-03-27 09:42:11 -05:00
mochi33i
7c6cf81476 docs(clap_complete): The file name of the command in the clap_complete example documentation was not supported, so it has been updated 2023-03-27 23:24:50 +09:00