Commit Graph

1459 Commits

Author SHA1 Message Date
Thayne McCombs 95b4dff379
Merge pull request #1412 from tmccombs/limit-default-threads
Limit default threads
2023-10-27 23:26:31 -06:00
Thayne McCombs c96b1af3be
Merge pull request #1410 from tmccombs/available-parallelism
Replace num_cpus with `std:🧵:available_parallelism`
2023-10-27 23:25:51 -06:00
Thayne McCombs 5ee6365510 Set maximum default threads
Set a limit of how many threads fd will use by default. On hosts that
have a large number of cores, using additional threads has diminishing
returns, and having large numbers of threads increases the setup cost.
Thus we don't necessarily want to use the same number of threads as we
have cores.

Fixes: #1203
2023-10-26 00:48:30 -06:00
Thayne McCombs 1d57b3a064 Simplify parsing number of threads. 2023-10-25 23:56:59 -06:00
Thayne McCombs 325d419e39 Replace num_cpus with std:🧵:available_parallelism
I think this might help startup time a little bit, since it looks like
on linux at least the std implementation uses syscalls to determine the
parallelism, whereas num_cpus was processing the /proc/cpuinfo file.

It also removes another dependency.
2023-10-25 02:00:31 -06:00
Thayne McCombs 8b5532d8dd
Merge pull request #1409 from marcospb19/fix-docs-typo
Fix docs typos
2023-10-23 22:10:05 -06:00
João Marcos P. Bezerra 7263b5e01d Fix docs typos 2023-10-24 00:40:12 -03:00
Thayne McCombs c6fcdbe000 docs: Explicitly warn against relying on result order for exec
Supersedes: #1230
Fixes: #1228
2023-10-23 08:34:15 +02:00
Thayne McCombs 306dacd0b4 tests: Add more tests cases for ignoring .git 2023-10-23 08:34:03 +02:00
Thayne McCombs 08910e4e3f docs: Some tweaks from review 2023-10-23 08:34:03 +02:00
Thayne McCombs 8897659607 tests: Add tests for ignoring .git/ 2023-10-23 08:34:03 +02:00
Thayne McCombs 53fd416c47 docs: Document exclusion of .git/ 2023-10-23 08:34:03 +02:00
Thayne McCombs 5e0018fb1f
Merge pull request #1402 from tmccombs/nix-users
maint: Remove use of unmaintained users crate
2023-10-22 01:35:47 -06:00
Thayne McCombs 054bae01ef maint: Remove use of unmaintained users crate
The users crate is no longer maintained. There is a maintained fork
called uzers, but we already have a dependency on nix, and that has the
functionality we need.
2023-10-21 23:37:32 -06:00
David Peter 8f32a758a4 Update lock file 2023-10-21 22:16:15 +02:00
David Peter 0fc8facfb7 Fix --help text 2023-10-21 22:16:15 +02:00
Thayne McCombs 069b181625 Fix documentation for brace escapes 2023-10-21 22:16:15 +02:00
Thayne McCombs d9b69c8405 feat: Add a way to escape { and }in exec templates.
fixes #1303
2023-10-21 22:16:15 +02:00
Thayne McCombs a11f8426d4 Fix deprecation warning from chrono
Also change logic to use the latest time if the local time is ambiguous
(for example due to daylight savings)
2023-10-21 14:07:50 +02:00
Thayne McCombs e6aa8e82f6 Add Upcoming Release to changelog 2023-10-21 14:06:52 +02:00
sitiom 978866d983 Change Winget Releaser job to `ubuntu-latest` 2023-10-21 14:06:25 +02:00
Christian Göttsche 36bc84041b Support character and block device file types 2023-10-21 13:56:33 +02:00
Thayne McCombs 3ed4ea7538
Merge pull request #1396 from skoriop/default-ignore-git-folder
feat: ignore `.git/` by default
2023-10-20 22:35:22 -06:00
Thayne McCombs 6b5fe1c634
Merge pull request #1399 from tmccombs/8.7.1-release
8.7.1 release
2023-10-20 21:57:38 -06:00
Thayne McCombs 7c39fff969 Prepare for 8.7.1 release 2023-10-18 21:44:34 -06:00
Thayne McCombs b922ca18f0 A couple more updates to the changelog 2023-10-18 21:31:28 -06:00
Thayne McCombs b8e7cbd5e3
Merge pull request #1398 from tmccombs/clap-update
Clap update
2023-10-18 09:09:45 -06:00
Karthik Prakash 9df9a489f0 refactor: replace `map_err` with `expect`
Co-authored-by: Thayne McCombs <astrothayne@gmail.com>
2023-10-18 13:06:51 +05:30
Thayne McCombs fa01a280ed Update Changelog
This was missed
2023-10-17 23:12:30 -06:00
Thayne McCombs e6b5a4ef9d bug: Update clap to 4.4.6
This also fixes a couple of problems that are now errors:

- Remove use of unstable-grouped feature flag that no longer exists
- Fix some conflicts rules with non-existant options
  * has_results should have been quiet
  * count doesn't exist. I'm not sure where it came from

Fixes: #1397
2023-10-17 23:12:03 -06:00
Thayne McCombs 19832fcbd3
Merge pull request #1386 from SonkeWohler/fix-readme-as-tree
fix(README.md): as-tree is unmaintained, fixes #1040
2023-10-16 10:17:24 -06:00
sonke d371b10039 fix(README.md): as-tree is unmaintained, fixes #1040 2023-10-16 17:54:15 +03:00
skoriop 8c50bc733d docs: update `CHANGELOG.md` 2023-10-15 11:25:30 +05:30
skoriop 3f9794cd1a feat: ignore `.git/` by default 2023-10-15 11:11:53 +05:30
Thayne McCombs fc240f7b2a
Merge pull request #1394 from final-israel/make_max_results_one_conflict_with_exec
Making `-1` conflict with `--exec` and making `max-results` override `-1`
2023-10-05 10:27:43 -06:00
Eden Mikitas dea9110b90 Making `-1` conflict with `--exec` and making `max-results` override `-1` 2023-10-05 15:10:37 +03:00
Thayne McCombs 93cdb2628e
Merge pull request #1391 from sharkdp/dependabot/cargo/jemallocator-0.5.4
Bump jemallocator from 0.5.0 to 0.5.4
2023-10-01 21:28:57 -06:00
Thayne McCombs 817c0bc512
Merge pull request #1390 from sharkdp/dependabot/cargo/libc-0.2.148
Bump libc from 0.2.147 to 0.2.148
2023-10-01 21:28:12 -06:00
Thayne McCombs e97dec777c
Merge pull request #1389 from sharkdp/dependabot/cargo/globset-0.4.13
Bump globset from 0.4.10 to 0.4.13
2023-10-01 21:27:32 -06:00
Thayne McCombs 5f494b0925
Merge pull request #1388 from sharkdp/dependabot/cargo/regex-1.9.6
Bump regex from 1.9.1 to 1.9.6
2023-10-01 21:27:02 -06:00
Thayne McCombs 59feb7d6ab
Merge pull request #1392 from sharkdp/dependabot/cargo/anyhow-1.0.75
Bump anyhow from 1.0.72 to 1.0.75
2023-10-01 21:26:25 -06:00
dependabot[bot] 97f5326393
Bump anyhow from 1.0.72 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.75)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:23:46 +00:00
dependabot[bot] e2a298a84f
Bump jemallocator from 0.5.0 to 0.5.4
Bumps [jemallocator](https://github.com/tikv/jemallocator) from 0.5.0 to 0.5.4.
- [Release notes](https://github.com/tikv/jemallocator/releases)
- [Changelog](https://github.com/tikv/jemallocator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tikv/jemallocator/compare/0.5.0...0.5.4)

---
updated-dependencies:
- dependency-name: jemallocator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:23:38 +00:00
dependabot[bot] 3317362e78
Bump libc from 0.2.147 to 0.2.148
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.147 to 0.2.148.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.147...0.2.148)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:23:31 +00:00
dependabot[bot] 39d0a3ff3c
Bump globset from 0.4.10 to 0.4.13
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.10 to 0.4.13.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.10...globset-0.4.13)

---
updated-dependencies:
- dependency-name: globset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:23:23 +00:00
dependabot[bot] d36c59920d
Bump regex from 1.9.1 to 1.9.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.1 to 1.9.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.1...1.9.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 17:23:14 +00:00
Tavian Barnes 995d2f5e44
Merge pull request #1381 from joshuataylor/bump-proc_macro
Bump proc_macro2 to support building on nightly rust
2023-09-18 20:47:15 -05:00
Tavian Barnes 3884f054f1
Merge pull request #1382 from cstyles/bump-clap_complete
Bump clap_complete to 4.4.1
2023-09-09 18:29:25 -04:00
Collin Styles 32504fa3d5 Bump clap_complete to 4.4.1
This fixes an issue with fish shell completions that was causing
problems for fd.
2023-09-09 12:46:43 -07:00
Josh Taylor afd0efa291
Bump proc_macro2 to support building on nightly rust
cargo update proc-macro2

Otherwise the error "error[E0635]: unknown feature
`proc_macro_span_shrink`" will display and the build will fail.

Seems to be okay as of nightly 62ebe3a2b 2023-09-08
2023-09-09 21:15:39 +08:00