Commit graph

3190 commits

Author SHA1 Message Date
Ed Page
6f78e2a3ff docs: Highlight notes/warnings in a block 2024-11-08 11:07:48 -06:00
Ed Page
61f5ee514f chore: Release 2024-10-08 08:56:17 -05:00
Ed Page
61ebe72203 chore: Release 2024-10-01 13:01:58 -05:00
Ed Page
0d142f6c04 chore: Release 2024-09-20 15:01:33 -05:00
Ed Page
19460ee00d chore: Release 2024-09-04 14:16:31 -05:00
Ed Page
97deaf4194 chore: Release 2024-08-15 16:42:20 -05:00
nora
9b0aa0924b feat: Explicitly list items to re-export from derive
This allows rustc to give a nice note about activating
the derive feature when it has not been activated.
2024-08-15 22:40:40 +02:00
Ed Page
4094435c88 chore: Release 2024-08-09 19:24:38 -05:00
Ed Page
d222ae4cb6 chore: Release 2024-08-08 11:09:07 -05:00
Ed Page
fc6aaca52b
Merge pull request #5638 from epage/cargo
docs(cookbook): Style cargo plugin
2024-08-08 10:41:19 -05:00
Ed Page
631e54bc71 docs(cookbook): Style cargo plugin
Inspired by part of the conversation at #3234
2024-08-08 10:31:27 -05:00
Gibson Fahnestock
6f215eee98
refactor(styles): make styles example use a const
This makes it easier to copy this example for use in the derive API,
like so:

```rust
const STYLES: Styles = Styles::styled()
    .header(AnsiColor::Green.on_default().bold())
    .usage(AnsiColor::Green.on_default().bold())
    .literal(AnsiColor::Blue.on_default().bold())
    .placeholder(AnsiColor::Cyan.on_default());

#[derive(Parser)]
#[clap(styles = STYLES)]
struct Cmd {
  ...
}
```

If you use the `|` method then it's not a constant function.
2024-08-08 15:04:32 +01:00
Ed Page
99f1fa6b51 docs: Cross-link color control to Command::styles
Inspired by #5590
2024-08-01 09:52:50 -05:00
Ed Page
66b5a122ec chore: Release 2024-07-31 16:26:41 -05:00
Ed Page
d18615dfc0 chore: Release 2024-07-31 12:20:00 -05:00
Ed Page
4a00677024 chore: Release 2024-07-25 08:39:13 -05:00
Ed Page
6b18d7725c docs(derive): Acknowledge Vec<Vec<T>> 2024-07-24 10:48:05 -05:00
Ed Page
8697a6134b chore: Release 2024-07-23 10:32:00 -05:00
Ed Page
43e7368283 chore: Release 2024-07-08 21:07:21 -05:00
Ed Page
469d847d35 chore: Release 2024-06-28 12:44:19 -04:00
chrysn
deae5929bd docs: Fix typo (cio->clio) 2024-06-14 13:51:45 +02:00
Ed Page
6c6839a454 chore: Release 2024-06-10 09:30:20 -05:00
Ed Page
122a2b3b8a chore: Release 2024-06-06 16:36:35 -05:00
Ed Page
f087c39884 chore: Release 2024-06-06 15:14:24 -05:00
Ed Page
800d7cb8ad chore: Update from template 2024-05-14 12:27:02 -05:00
Asger Hautop Drewsen
b44aa4797d docs: Remove max_values from derive docs 2024-05-01 16:14:36 +02:00
Ed Page
a01f25da96 chore(ci): Reduce noisy lints
Want to add this back in later but this is slowing down migration of my
repos.
2024-04-26 09:23:28 -05:00
Ed Page
ebc70d00f9 chore: Only check missing_docs in lib
This also fires in examples and other places.

While docs in examples would be nice,
it isn't universally applicable and `allow`s would undermine the
examples.
2024-04-01 09:11:24 -05:00
Ed Page
99e034bbbb chore: Move print lints to lib.rs
While there is a config for ignoring these in tests, it doesn't help
with examples.
2024-03-28 15:10:58 -05:00
Ed Page
5e4facf76f chore: Release 2024-03-25 16:08:19 -05:00
Ed Page
3d5ead81cf chore(ci): Configure standard lints 2024-03-21 10:51:32 -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