Ed Page
5e4facf76f
chore: Release
2024-03-25 16:08:19 -05:00
Ed Page
655d8295a7
docs(derive): Fix ToC links within tutorial chapters
...
Fixes #5404
2024-03-20 15:46:14 -05:00
Ed Page
4e07b43858
chore: Release
2024-03-15 07:54:24 -05:00
Ed Page
f65d421607
chore: Release
2024-03-06 10:52:18 -06:00
Ed Page
8a7a13a561
chore: Release
2024-02-16 07:08:54 -06:00
Ed Page
a751c5fe65
chore: Release
2024-02-08 10:34:06 -06:00
Ed Page
4b45d361b1
chore: Update MSRV to 1.74
2024-02-08 09:45:17 -06:00
Eric R
3216a64bea
fix: Format to repl.rs structure, remove readme
2024-01-23 22:27:19 -05:00
Eric R
a6391ae9e3
docs(example): Added repl derive example
2024-01-23 17:35:15 -05:00
Ed Page
d18c327229
docs(faq): Remove parity link
...
Now that we've integrated everything into rustdoc,
its more obvious.
2024-01-22 08:48:32 -06:00
Ed Page
64ae186dfc
docs(tutorial): Don't cover 'author' as its not shown
2024-01-17 08:06:56 -06:00
Ed Page
42849cdf5f
docs(derive): Point users to 'help_template' if they want author
2024-01-17 08:00:40 -06:00
Ed Page
0134f45ff0
chore: Release
2024-01-16 14:28:07 -06:00
Ed Page
ef98da27cb
chore: Release
2024-01-15 10:20:03 -06:00
Ed Page
cbc9c9dd44
chore: Release
2024-01-11 20:52:38 -06:00
Ed Page
12b5c39d46
chore: Release
2024-01-11 10:37:53 -06:00
Ed Page
514f28bc92
chore: Release
2024-01-08 10:39:47 -06:00
Ed Page
2ab48b295c
chore: Release
2024-01-04 13:11:49 -06:00
Ed Page
cca190efed
docs: Correct link to StructOpt migration guide
2024-01-04 13:11:17 -06:00
Ed Page
6d601e6f31
chore: Release
2023-12-28 12:07:48 -06:00
Ed Page
d092896d61
chore: Release
2023-12-04 12:17:32 -06:00
Ed Page
c0a1814d3c
chore: Release
2023-11-27 21:20:50 -06:00
Ed Page
030d87505d
docs: Link out to the changelog at the relevant tag
...
This was inspired by #4254
2023-11-27 16:54:58 -06:00
Ed Page
a08587b00e
docs(derive): Link to tutorial sections for attributes
...
This is part of #5199
2023-11-27 16:16:54 -06:00
Ed Page
dbd013eab1
docs(ref): Be clear about implicit ArgGroup behavior
2023-11-07 13:47:05 -06:00
Ed Page
32586c7b63
docs(tutorial): Split into separate modules per section
...
Unsure how much to read into this but some refer to the tutorial a a big
wall of ... and maybe breaking it down will help?
2023-09-12 09:24:27 -05:00
Ed Page
5f6d4a3dad
docs(tutorial): Split out into a module
2023-09-11 21:02:11 -05:00
Ed Page
9e7404b599
docs(tutorial): Attempt to clarify attributes
2023-09-11 20:50:12 -05:00
Ed Page
db97a2c5be
docs(derive): Clarify value attributes are for PossibleValue
2023-09-11 20:10:46 -05:00
Ed Page
087224a486
perf: Drop a dep for faster builds
...
`OnceLock` became available as of 1.70 which is older than our new MSRV.
We can easily get away without `Lazy` variants.
2023-08-31 12:54:45 -05:00
Ed Page
eb53db89f8
feat(help): Stabilize styling support
...
Fixes #3234
2023-08-28 09:49:48 -05:00
Ed Page
d30d94f51c
chore: Update MSRV to 1.70
2023-08-24 10:14:23 -05:00
Ed Page
82f17a40c0
docs(builder): Provide styling examples
2023-07-17 17:10:33 -05:00
Ed Page
975eb0c686
docs(tutorial): Link out to other docs more
...
This is another step for trying to improve the understanding that the
derive and builder APIs are linked (#4090 ).
This also adds links to make it easier to discover more details on how
we infer behavior from a field's type.
2023-06-23 16:09:52 -05:00
Ed Page
7370c63caf
docs(tutorial): Provide next steps
...
This is particularly to help call attention to builder methods as
attributes (#4090 ).
2023-06-23 15:43:48 -05:00
Ed Page
c2e6f1b790
docs(derive): Draw more attention to derive feature
2023-06-23 15:31:11 -05:00
Ed Page
ffbe6e9936
docs(derive): Ensure magic attributes are searchable
2023-06-23 13:20:21 -05:00
Ed Page
a9d50cfae9
docs: Link out to clio
...
Related to #4074
2023-06-23 12:53:01 -05:00
Ed Page
1db9df4a48
docs: Fix link to tutorial
...
Fixes #4964
2023-06-12 10:44:38 -05:00
Ed Page
777e4dc41b
docs(derive): Clarify name
is package name, not crate name
...
Fixes #4934
2023-05-23 08:38:02 -05:00
Ed Page
be885673ab
docs(ref): Fix feature name
2023-05-02 10:05:00 -05:00
Ed Page
015f88b21a
feat(help): Allow customizing terminal styling
...
For now, this is behind the `unstable-styles` feature as we verify this
is what we want for #3224
2023-04-18 15:22:42 -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
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
Kurtis Nusbaum
5430df7a0f
feat(derive): Support #[group]
attributes
...
This adds the ability derive additional options for the group creation.
Fixes #4574
2023-03-25 03:25:38 -05:00
Ed Page
4e1a565b8a
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
2023-03-24 21:50:02 -05:00
Ed Page
5b65ede0ae
style: Reduce unstable-v5 warnings
2023-03-24 21:32:58 -05:00
Ed Page
5d0fbb47ce
doc: Clean up cfgs
2023-03-24 21:32:58 -05:00
Ed Page
f04ad2f38c
Merge pull request #4779 from epage/reserve
...
perf: Reduce alloc calls when building
2023-03-23 15:43:33 -05:00