Skip to content

Commit d2e02a6

Browse files
authored
Update windows-sys to 0.61.0 (#6)
This would allow removing `windows-sys 0.42.0` from `nextest` dependencies.
1 parent 45196f0 commit d2e02a6

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
strategy:
3434
matrix:
3535
os: [ windows-latest, ubuntu-latest ]
36-
# 1.49 is the MSRV
37-
rust-version: [ 1.49, stable ]
36+
# 1.71 is the MSRV
37+
rust-version: [ 1.71, stable ]
3838
fail-fast: false
3939
env:
4040
RUSTFLAGS: -D warnings

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org).
66

7+
## [0.3.0] - upcoming
8+
9+
- `windows-sys` dependency updated to version `0.61.0`
10+
- MSRV updated to Rust 1.71
11+
712
## [0.2.1] - 2022-12-10
813

914
### Changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ edition = "2018"
66
license = "MIT"
77
readme = "README.md"
88
repository = "https://github.com/sunshowers-code/enable-ansi-support"
9-
rust-version = "1.49"
9+
rust-version = "1.71"
1010
keywords = ["ansi", "windows", "console", "terminal", "color"]
1111
categories = ["command-line-interface", "os::windows-apis"]
1212

1313
[target.'cfg(windows)'.dependencies]
14-
windows-sys = { version = "0.45.0", features = [
14+
windows-sys = { version = "0.61.0", features = [
1515
"Win32_Foundation",
1616
"Win32_Storage_FileSystem",
1717
"Win32_Security",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn main() {
3636

3737
## Minimum supported Rust version
3838

39-
The minimum supported Rust version (MSRV) is **1.49**. The MSRV will be updated sparingly, and any
39+
The minimum supported Rust version (MSRV) is **1.71**. The MSRV will be updated sparingly, and any
4040
update to it will be considered a breaking change.
4141

4242
## License and credits

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn enable_ansi_support() -> Result<(), std::io::Error> {
7878
std::ptr::null(),
7979
OPEN_EXISTING,
8080
0,
81-
0,
81+
std::ptr::null_mut(),
8282
);
8383
if console_handle == INVALID_HANDLE_VALUE {
8484
return Err(std::io::Error::last_os_error());

0 commit comments

Comments
 (0)