Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest ]
# 1.49 is the MSRV
rust-version: [ 1.49, stable ]
# 1.71 is the MSRV
rust-version: [ 1.71, stable ]
fail-fast: false
env:
RUSTFLAGS: -D warnings
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

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

## [0.3.0] - upcoming

- `windows-sys` dependency updated to version `0.61.0`
- MSRV updated to Rust 1.71

## [0.2.1] - 2022-12-10

### Changed
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ edition = "2018"
license = "MIT"
readme = "README.md"
repository = "https://github.com/sunshowers-code/enable-ansi-support"
rust-version = "1.49"
rust-version = "1.71"
keywords = ["ansi", "windows", "console", "terminal", "color"]
categories = ["command-line-interface", "os::windows-apis"]

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.45.0", features = [
windows-sys = { version = "0.61.0", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_Security",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fn main() {

## Minimum supported Rust version

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

## License and credits
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn enable_ansi_support() -> Result<(), std::io::Error> {
std::ptr::null(),
OPEN_EXISTING,
0,
0,
std::ptr::null_mut(),
);
if console_handle == INVALID_HANDLE_VALUE {
return Err(std::io::Error::last_os_error());
Expand Down
Loading