14 Commits

Author SHA1 Message Date
Jacob Kiesel
653aedac49 Fix extension casing on windows 2022-08-29 23:10:08 -06:00
Harry Fei
e8e36a8848 fix clippy warning 2022-03-20 20:56:54 +08:00
Alexander Kjäll
894cbdbb70 Replace tempdir with tempfile, as the tempdir crate have been superceded by tempfile 2022-02-07 12:58:21 +01:00
Marijn Suijten
4eeced09ae Fix all clippy lints as of Rust 1.58 2022-01-24 11:26:15 +01:00
Mark
36a68cbc9b
Accept owned and borrowed Regex
For performance, it is desirable to accept &Regex instead of Regex.
By changing changing to impl Borrow<Regex>, all existing code
remains valid, but &Regex is also accepted.
2021-11-30 22:31:26 +01:00
Milo
74140bd497
better ci (#44)
better ci
2021-08-28 20:55:00 +08:00
Nicolas Marier
429b7c1061 feat(lib): allow searching with regular expressions
Fixes: #39
2021-07-25 13:12:49 -04:00
Jacob Kiesel
bf520fbf1f Fix formatting for CI 2021-03-10 14:11:58 -07:00
Jacob Kiesel
84446f2862 Add support for finding all binaries with said name on path 2021-01-04 15:48:16 -07:00
Wayne Warren
e6e839c4f6 replace failure with std::error:Error and thiserror 2020-05-25 20:37:41 -05:00
Linus Färnstrand
8dd2105190 Use automatic failure feature instead of redundant use_failure 2019-09-27 08:44:47 +02:00
Adrien Prokopowicz
d4f5419e9e
Make dependency on "failure" optional, but enabled by default 2019-09-15 15:03:04 +02:00
Sean Leather
13393d10b9 Add which::Path, which::CanonicalPath structs 2019-07-12 08:46:20 +02:00
Sean Leather
600730d701 Move tests into separate file 2019-07-10 10:37:27 +02:00