Commit Graph

154 Commits

Author SHA1 Message Date
openharmony_ci
ca6fe5f03a
!4 修改软件名
Some checks failed
Main workflow / Rustfmt [Formatter] (push) Has been cancelled
Main workflow / Clippy [Linter] (macos-latest) (push) Has been cancelled
Main workflow / Clippy [Linter] (ubuntu-latest) (push) Has been cancelled
Main workflow / Clippy [Linter] (windows-latest) (push) Has been cancelled
Main workflow / Compile (push) Has been cancelled
Main workflow / Test Suite (macos-latest, nightly) (push) Has been cancelled
Main workflow / Test Suite (macos-latest, stable) (push) Has been cancelled
Main workflow / Test Suite (ubuntu-latest, nightly) (push) Has been cancelled
Main workflow / Test Suite (ubuntu-latest, stable) (push) Has been cancelled
Main workflow / Test Suite (windows-latest, nightly) (push) Has been cancelled
Main workflow / Test Suite (windows-latest, stable) (push) Has been cancelled
Merge pull request !4 from archane/master
2024-11-05 10:45:50 +00:00
zhaipeizhe
227fa0f97a update Name in README.OpenSource
Signed-off-by: zhaipeizhe <zhaipeizhe@huawei.com>
Change-Id: I1c58d43a55d78a45f2514ef15df75ea9a09535b1
2024-10-31 16:50:12 +08:00
openharmony_ci
b3ba51a154
!3 修改Readme.Opensources
Merge pull request !3 from xxlight/dev_check
2023-05-09 06:06:14 +00:00
xxlight
fd3134d404 check cxx and bindgen tests
Issue: https://gitee.com/xxlight/third_party_rust_which-rs/issues/I7169Y
Signed-off-by: xxlight <xiaoxiaoliang2@huawei.com>
Change-Id: I7e817a9f1f7b125cda2b704437ba4d680ce21552
2023-05-08 11:50:39 +08:00
openharmony_ci
09e4721813
!2 Add OAT.xml and README.OpenSource
Merge pull request !2 from fangting/master
2023-04-14 08:11:19 +00:00
fangting
83bff52ce1 Add OAT.xml and README.OpenSource
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:15:33 +08:00
openharmony_ci
aac7360beb
!1 [which-rs]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from lubinglun/master
2023-04-13 11:34:08 +00:00
lubinglun
77c0f0820d Add GN Build Files and Custom Modifications
Issue:https://gitee.com/openharmony/build/issues/I6UFTP
Signed-off-by: lubinglun <lubinglun@huawei.com>
2023-04-12 17:27:21 +08:00
Harry Fei
1372285445 bump version to 4.4.0 2023-01-20 17:11:35 +08:00
Harry Fei
15f628e9bd
Merge pull request #62 from Xaeroxe/global/config
Add global function variants, add structure for configuring which
2022-09-27 20:52:11 +08:00
Matthias Beyer
896a9b6913
Derive Eq for Path, CanonicalPath (#63)
* Derive Eq for Path

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

* Derive Eq for CanonicalPath

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2022-09-22 10:08:41 -06:00
Jacob Kiesel
74dbbbe640 add global function variants, add structure for configuring which 2022-09-19 13:45:42 -06:00
Harry Fei
492df70494 bump version to 4.3.0 2022-08-31 15:56:04 +08:00
Jacob Kiesel
653aedac49 Fix extension casing on windows 2022-08-29 23:10:08 -06:00
Harry Fei
a6bc221c44
Merge pull request #58 from MarijnS95/once-cell
Replace ancient `lazy_static` crate with `once_cell`
2022-06-12 20:54:40 +08:00
Marijn Suijten
9161cae51e Replace ancient lazy_static crate with once_cell
Piggybacking on the [motivation in winit]: `lazy_static!` is a macro
whereas `once_cell` achieves the same using generics.  Its
implementation has also been [proposed for inclusion in `std`], making
it easier to switch to a standardized version if/when that happens.  The
author of that winit PR is making this change to many more crates,
slowly turning the scales in favour of `once_cell` in most dependency
trees.  Furthermore `lazy_static` hasn't published any updates for 3
years.

See also [the `once_cell` F.A.Q.].

[motivation in winit]: https://github.com/rust-windowing/winit/pull/2313
[proposed for inclusion in `std`]: https://github.com/rust-lang/rust/issues/74465
[the `once_cell` F.A.Q.]: https://docs.rs/once_cell/latest/once_cell/#faq
2022-06-11 19:47:11 +02:00
N3xed
60fd009255
windows: Also search for file without added extension (#57)
Previously if the extension of the file to be searched for was not in the
list of executable extensions (env var `PATHEXT`), the original file name
would not be searched.
E.g. `script.py` would result in `script.py.EXE`, `script.py.COM`, and so on
to be searched.

This change prepends the original file to the search list if it already has
a file extension so that the unmodified filename will be searched aswell.
2022-04-12 09:58:33 -06:00
Harry Fei
cd6add3af7
Merge pull request #55 from MarijnS95/patch-2
Fix `exec*table` typo in main doc comment
2022-04-09 15:31:04 +08:00
Marijn Suijten
ab8f5060d6
Fix exec*table typo in main doc comment 2022-04-08 15:38:42 +02:00
Harry Fei
ca9cc93b39 bump version to 4.2.5 2022-03-20 21:25:20 +08:00
Harry Fei
e8e36a8848 fix clippy warning 2022-03-20 20:56:54 +08:00
Harry Fei
b340a09049 upgrade regex to avoid RUSTSEC-2022-0013 vulnerability
* upgrade regex to 1.5.5
* upgrade other crates' version also.
2022-03-20 19:28:10 +08:00
Harry Fei
cf3b5977b0 upgrade dependences 2022-02-21 13:26:21 +08:00
Harry Fei
e7002ce206
Merge pull request #53 from alexanderkjall/replace-tempdir-with-tempfile
Replace tempdir with tempfile
2022-02-07 21:35:02 +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
Harry Fei
688ec70fe4 ci: test and run linter on macos 2022-01-24 21:16:38 +08:00
Harry Fei
097057149d
Merge pull request #52 from MarijnS95/patch-2
ci: Disallow warnings from `clippy`
2022-01-24 19:10:39 +08:00
Marijn Suijten
4eeced09ae Fix all clippy lints as of Rust 1.58 2022-01-24 11:26:15 +01:00
Marijn Suijten
e2c395e296 ci: Disallow warnings from clippy
Running the `clippy` linter does not make much sense if 99% of its coverage isn't stopping the CI from succeeding.
2022-01-24 11:00:38 +01:00
Harry Fei
ad75526abc
Merge pull request #51 from MarijnS95/patch-1
ci: Also run the linter on Windows
2022-01-24 17:42:28 +08:00
Marijn Suijten
b1650d690a
ci: Also run the linter on Windows 2022-01-24 10:34:48 +01:00
Harry Fei
8fbe34239c bump version to 4.2.4 2022-01-24 17:33:42 +08:00
Harry Fei
956d3aec90
Merge pull request #50 from Xiaobin0860/win
Fix windows compilation error.
2022-01-24 17:31:27 +08:00
xl000
d7c42c7fc8 Fix windows compilation error. 2022-01-24 17:21:01 +08:00
Harry Fei
6532c3107c bump version to 4.2.3 2022-01-24 15:55:31 +08:00
Harry Fei
4b0ab8cfd8 fix #46 removed current directory error 2022-01-24 15:45:41 +08:00
Harry Fei
67652769a6 fix #47 Pathext parsing error 2022-01-24 15:45:33 +08:00
Harry Fei
e63fe6f5da fix code format 2022-01-24 14:57:25 +08:00
Harry Fei
49766c8d18
Merge pull request #45 from mverleg/regex_doc
Documentation for regex feature
2022-01-24 14:46:24 +08:00
Mark
da2cc662b4
Add feature requirements and example to which_re documentation 2021-11-30 22:31:53 +01:00
Mark
f2379804a9
Show regex-features in the documentation
Add `package.metadata.docs.rs` to Cargo.toml to enable all features in
the documentation. This metadata is documented at
https://docs.rs/about/metadata
2021-11-30 22:31:49 +01:00
Mark
fc3e526ca7
Document which_re in readme 2021-11-30 22:31:44 +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
Harry Fei
bdd46e5293 bump version to 4.2.2 2021-07-31 14:19:23 +08:00
Harry Fei
ddc03dc0c4
Merge pull request #42 from marier-nico/patch-1
Import std::fs with the regex feature
2021-07-31 14:18:32 +08:00
Nicolas Marier
7ea0c5e80a
fix(finder): import std::fs with the regex feature
The import was necessary when using the regex feature.
2021-07-30 18:05:03 -04:00
Harry Fei
55e3cf3bb6 bump version to 4.2.1 2021-07-29 20:49:42 +08:00
Harry Fei
97a4859335 remove unused line 2021-07-29 20:47:03 +08:00
Harry Fei
d32d012686 bump version to 4.2.0 2021-07-29 20:44:38 +08:00