diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4107095..9c6c68f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: - x86_64-pc-windows-msvc - x86_64-apple-darwin - wasm32-wasi - toolchain: [stable, nightly, 1.64] + toolchain: [stable, nightly, "1.70"] include: - target: x86_64-unknown-linux-gnu os: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index b641354..6a5b837 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), respectively. The method `is_empty` returns if the table is empty (contains no data rows). Implemented by [Techassi](https://github.com/Techassi) in [#119](https://github.com/Nukesor/comfy-table/pull/119). +### Chore + +- Bump crossterm dependency + ## [7.0.1] - 2023-06-16 ## Fix diff --git a/Cargo.toml b/Cargo.toml index 91a926c..9f3cd72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,7 +66,6 @@ debug = [] integration_test = [] [dependencies] -crossterm = { version = "0.26", optional = true, default-features = false } strum = "0.25" strum_macros = "0.25" unicode-width = "0.1" @@ -78,3 +77,10 @@ pretty_assertions = "1" proptest = "1" rand = "0.8" rstest = "0.18" + +# We don't need any of the default features for crossterm. +# However, the windows build needs the windows feature enabled. +[target.'cfg(not(windows))'.dependencies] +crossterm = { version = "0.27", optional=true, default-features = false } +[target.'cfg(windows)'.dependencies] +crossterm = { version = "0.27", optional=true, default-features = false, features=["windows"] }