Commit Graph

23 Commits

Author SHA1 Message Date
dependabot[bot]
ba473fc925 Bump lscolors from 0.8.1 to 0.9.0
Bumps [lscolors](https://github.com/sharkdp/lscolors) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/sharkdp/lscolors/releases)
- [Commits](https://github.com/sharkdp/lscolors/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: lscolors
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 08:31:05 +01:00
Thayne McCombs
2e9be3e3f5 Bump MSRV to 1.54
Because that is needed by clap 3.0
2022-01-07 23:56:03 -07:00
Thayne McCombs
43f276e073 Upgrade to clap 3.0
This wasn't backwards compatible so required some more substantial
changes.
2022-01-07 23:56:03 -07:00
Niklas Mohrin
a64a607fd8 Bump MSRV to 1.53 2021-10-12 18:49:07 +02:00
David Peter
2a2126c40a Fix clippy warnings 2021-07-27 09:05:23 +02:00
sharkdp
296300ce46 Fix clippy suggestions 2020-12-06 12:04:47 +01:00
Sebastián Mancilla
ef1bfc7508 Add native Zsh completion
Replace the auto-generated Zsh completion with a full completion script.
This script improves completion support for options and arguments,
which is hard to obtain from an auto-generated completion.

- Full completion support for external commands and options when using
  `--exec`/`--exec-batch`.

- The completion for `--type` and `--color` adds descriptions instead of
  just values.

- Complete files when using `--ignore-file`.

- Stop completing files for the pattern argument.

- Improve completion for path arguments. Only directories are
  completed.

- Single-use options are not offered again.

- Updated exclusions lists for mutual-exclusive options.

- Add support for hidden options (as defined in `app.rs`). They are not
  offered for completion, but if present are considered (and their value
  may be completed).

Full support for exclusion lists depends of options groups, which was
added in Zsh 5.4. Older Zsh versions, as commented in the completion
script, will just offer most options.

The format of the completion script was taken from ripgrep completion
script. Command completion for `--exec`/`--exec-batch` was taken from
Zsh's `_find` completion.
2020-10-05 22:39:17 +02:00
sharkdp
a85f33cf98 Clean up build.rs 2020-04-03 22:36:32 +02:00
sharkdp
53557ef471 Clean up include order 2020-04-03 22:36:32 +02:00
sharkdp
4274075f6f Remove outdated license headers (not strictly required by Apache-2.0) 2020-04-03 10:19:13 +02:00
sharkdp
dd07bc9ef1 Bump min. required Rust version to 1.36 2020-03-22 16:19:28 +01:00
sharkdp
9cc0c8ed57 Fix build script after update 2019-09-15 17:27:12 +02:00
Alexandru Macovei
051ff5987a [2018 edition] remove all extern crate lines from sources 2019-01-07 12:52:30 +01:00
sharkdp
3c87952c47 Bump minimum required Rust version 2018-12-14 23:20:18 +01:00
sharkdp
53226f82eb Upgrade minimum reqiured version of Rust to 1.29
This upgrades the minimum required version of Rust to 1.29 in order to
fix #288.

See also:
- Rust compiler bug ticket: rust-lang/rust#50619
- Rust compiler PR with the fix: rust-lang/rust#50630

closes #288
2018-09-18 21:04:09 +02:00
sharkdp
6a9f16e159 Run latest version of rustfmt 2018-04-13 23:13:22 +02:00
sharkdp
b2797c0c45 Bump minimum rust version to 1.20 2017-12-09 22:14:53 -08:00
Andrey Cherkashin
3104729f29 Create shell completions OUT_DIR 2017-11-15 19:54:26 +01:00
Adit Cahya Ramadhan
673392045f Check minimal rustc version on the build process 2017-11-13 19:27:51 +01:00
Antti Keränen
701b8f209b Relicense under MIT/Apache-2.0 2017-10-22 10:36:42 +02:00
Florian Hofmair
37def9bb83 Allow overriding of OUT_DIR in build.rs (#124) 2017-10-17 08:11:42 +02:00
sharkdp
2403ac350a cargo update 2017-10-05 00:01:56 +02:00
Florian Hofmair
396b9baaa5 Use clap to generate shell completions 2017-10-04 18:00:25 +02:00