File tree Expand file tree Collapse file tree 6 files changed +120
-30
lines changed
Expand file tree Collapse file tree 6 files changed +120
-30
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Rust
33on :
44 push :
55 branches :
6- - ' master '
6+ - ' * '
77 - ' !gh-pages'
88 pull_request :
99
4040 shell : bash
4141 if : matrix.mingw_dir
4242 - run : cargo build
43+ - run : cargo build --features nightly
4344 - run : cargo build --all-targets
4445 - run : cargo test
4546 - run : cargo test --no-default-features
6869 env :
6970 CARGO_REGISTRIES_CRATES_IO_PROTOCOL : sparse
7071 # add_of_mut! requires for soundness
71- MSRV : 1.51 .0
72+ MSRV : 1.56 .0
7273 steps :
7374 - uses : actions/checkout@v3
7475 - run : |
7879 rustup run stable cargo generate-lockfile
7980 rustup run stable cargo fetch
8081 - run : |
81- cargo build --all-targets --locked
82- - run : |
83- cargo test
82+ cargo build --locked
8483
8584 rustfmt :
8685 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -25,6 +25,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2525* `Fixed` for any bug fixes.
2626* `Security` in case of vulnerabilities.
2727-->
28+ ## [ v1.1.0] - 2024-04-30
29+ ### Change MSRV from 1.51 to 1.56
30+
31+ windows-sys bump to 1.56 when they switch to 2021 edition.
32+ As a dependent of that crate, we have no choice but to follow.
2833
2934## [ v1.0.0] - 2023-02-26
3035### First major version
@@ -57,6 +62,7 @@ It signals that the API is mature enough to be stable for a long time.
5762
5863First release
5964
65+ [ v1.0.0 ] : https://github.com/lzutao/junction/compare/v1.0.0...v1.1.0
6066[ v1.0.0 ] : https://github.com/lzutao/junction/compare/v0.2.1...v1.0.0
6167[ v0.2.1 ] : https://github.com/lzutao/junction/compare/v0.2.0...v0.2.1
6268[ v0.2.0 ] : https://github.com/lzutao/junction/compare/v0.1.0...v0.2.0
Original file line number Diff line number Diff line change 11[package ]
22name = " junction"
3- version = " 1.0 .0" # Also update `html_root_url` in lib.rs
3+ version = " 1.1 .0" # Also update `html_root_url` in lib.rs
44authors = [" Lzu Tao <taolzu@gmail.com>" ]
55categories = [" api-bindings" , " os::windows-apis" ]
66documentation = " https://docs.rs/junction/*/x86_64-pc-windows-msvc/junction/"
77edition = " 2018" # edition 2021 released in 1.56.0
8- rust-version = " 1.51 "
8+ rust-version = " 1.56 "
99exclude = [
1010 " /.github" ,
1111 " /HOW-TO-RELEASE.md" ,
@@ -55,4 +55,8 @@ features = [
5555]
5656
5757[dev-dependencies ]
58- tempfile = " 3"
58+ tempfile = " =3.8.0"
59+ # NOTE: rustix is used by tempfile, to force tempfile use an old version
60+ # of it that is compatible with MSRV.
61+ # MSRV: v0.38.9+ has newer dep:core syntax that old rustc (<1.60) confuses.
62+ rustix = " =0.38.9"
Original file line number Diff line number Diff line change 17177 . Create tag and publish to remote
1818
1919 ``` bash
20- VER_NUM=v0 .x.x
21- git tag -as ${ VER_NUM} -m ${ VER_NUM}
20+ VER_NUM=v1 .x.x
21+ git tag -as $VER_NUM -m $VER_NUM
2222 git push origin master
23- git push origin ${ VER_NUM}
23+ git push origin $VER_NUM
2424 ```
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Quoted from [Computer Hope](https://www.computerhope.com/jargon/j/junction.htm):
2222
2323### Minimal Supported Rust versions
2424
25- 1.51 .0
25+ 1.56 .0
2626
2727## All relevant references
2828
You can’t perform that action at this time.
0 commit comments