openharmony_ci
6acc783884
!2 Add OAT.xml and README.OpenSource
...
Merge pull request !2 from fangting/master
2023-04-14 08:09:55 +00:00
fangting
deb464e100
Add OAT.xml and README.OpenSource
...
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:15:32 +08:00
openharmony_ci
cd8fb7dd69
!1 [version_check]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
...
Merge pull request !1 from lubinglun/master
2023-04-13 11:33:39 +00:00
lubinglun
f13ce2af65
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:18 +08:00
Sergio Benitez
736b788c9c
New version: 0.9.4.
2021-12-29 00:40:10 -08:00
Sergio Benitez
32693c9ff9
Add 'supports_feature()'.
2021-12-29 00:37:55 -08:00
Sergio Benitez
7d81cbd242
Mention 'autocfg' as an alternative.
...
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2021-04-16 01:50:27 -07:00
Sergio Benitez
0ccb306a60
Update README build badge for GitHub Actions.
2021-03-16 17:45:05 -07:00
Sergio Benitez
9cbc649cc4
Add tests for known outputs, current 'rustc'.
...
This also moves the CI to Github Actions.
2021-03-16 17:42:15 -07:00
Sergio Benitez
e7f0ff4d91
Parse raw channel strings as well.
2021-03-16 17:32:37 -07:00
Sergio Benitez
2f9b700d82
Simplify 'Version::to_mmp()'.
2021-03-16 10:32:16 -07:00
Sergio Benitez
d0e8ad075a
Add 'Date::from_ymd()', don't allocate in 'parse'.
2021-03-16 10:31:17 -07:00
Sergio Benitez
11875244ee
New version: 0.9.3.
2021-03-16 01:02:20 -07:00
Sergio Benitez
dba235292c
Tidy verbose parsing, unify tests.
2021-03-16 00:59:06 -07:00
Josh Stone
cb8592005c
Parse version and date from '--verbose'.
...
The plain `rustc --version` string is not well structured, and in
particular the git commit info is not necessarily present when rustc is
built out of tree, such as in distro builds. Furthermore,
rust-lang/rust#79115 made it possible to have completely custom
information in a version's parenthesized block, which may not look like
git info at all.
Adding `--verbose` outputs each field on its own line, in particular
"release: ..." for the version number and "commit-date: ..." for the git
info, although the latter is just "unknown" for out-of-tree builds.
MSRV remains 1.0.0.
2021-03-16 00:58:09 -07:00
Sergio Benitez
b5caeeb14f
New version: 0.9.2.
2020-05-23 21:24:30 -07:00
Jacob Pratt
d9bd8e4495
Expose 'Version::to_mmp()', add 'Version::from_mmp()'.
...
Resolves #13 .
2020-05-23 21:23:03 -07:00
mibac138
4ef0226d68
Increase strictness of 'Version::parse()'.
...
Fixes #11 .
2020-05-22 01:02:17 -07:00
Sergio Benitez
2cd670b246
New version: 0.9.1.
2019-05-23 23:08:03 -07:00
Sergio Benitez
2aecb2a3eb
Fix 'Display' impl for 'Date'.
2019-05-23 23:06:35 -07:00
Sergio Benitez
98871bdc8e
New version: 0.9.
2019-05-23 19:11:55 -07:00
Peter Hall
96a6d6ccbe
Fix doc typo: 'min_data' -> 'min_date'.
2019-05-13 11:40:58 -07:00
Sergio Benitez
a2e8411430
Mention support for Rust 1.0.0 and beyond.
...
Resolves #8 .
2019-05-13 11:38:31 -07:00
Sergio Benitez
f2d5df160f
New version: 0.1.5.
2018-09-23 12:42:17 -07:00
Sergio Benitez
96f94b7fc1
Parse only the last line of 'rustc --version'.
...
Cargo sometimes emits a 'warning' line to 'stdout', breaking the
canonical 'rustc --version' output, and thus breaking the parser. This
commit ignores everything but the last line of output from the command,
circumventing this issue.
Resolves #4 .
2018-09-23 12:41:52 -07:00
Sergio Benitez
2a5cb8c900
New version: 0.1.4.
2018-07-05 12:53:04 -07:00
Sergio Benitez
f85791d9c2
Fix Cargo.toml for new license.
2018-07-05 12:51:26 -07:00
Sergio Benitez
a7fb64f943
Relicense under dual MIT/Apache-2.
...
Resolves #2 .
2018-07-05 12:49:43 -07:00
Sergio Benitez
ff496f07ef
Use 'build-dependencies' in README.
2017-07-10 15:23:15 -07:00
Sergio Benitez
2137cde91c
New version: 0.1.3.
2017-07-10 15:20:13 -07:00
Sergio Benitez
1a3e94e83b
Don't require dates to parse version strings.
...
Fixes #1 .
2017-07-10 15:19:17 -07:00
Sergio Benitez
76ca8f26c6
New version: 0.1.2.
2017-06-02 17:30:19 -07:00
Sergio Benitez
7f6df72efa
Add supports_features function.
2017-06-02 17:29:48 -07:00
Sergio Benitez
a4f89eb7c6
New version: 0.1.1.
2017-06-02 16:47:41 -07:00
Sergio Benitez
57c86477a0
Add is_dev function. Support X.Y versions.
2017-06-02 16:47:03 -07:00
Sergio Benitez
13c37d54f8
Add all that info to publish.
2017-01-15 00:54:27 -08:00
Sergio Benitez
84c04c1b02
This is 2017.
2017-01-15 00:50:50 -08:00
Sergio Benitez
887d0eafc5
Add license.
2017-01-15 00:50:25 -08:00
Sergio Benitez
7f9dcac2db
Add a README.
2017-01-15 00:49:18 -08:00
Sergio Benitez
fb2b878f41
Initial commit.
2017-01-15 00:46:39 -08:00