Skip to content

Commit 8865017

Browse files
committed
enable windows feature flag for crossterm by default
1 parent 5bc72f7 commit 8865017

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Diff for: Cargo.toml

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qr2term"
3-
version = "0.3.3"
3+
version = "0.3.2"
44
authors = ["Tim Visée <[email protected]>"]
55
license = "MPL-2.0"
66
readme = "README.md"
@@ -13,19 +13,22 @@ categories = ["algorithms", "rendering", "visualization"]
1313
edition = "2021"
1414
rust-version = "1.67.1"
1515

16-
[features]
17-
windows = ["crossterm/windows"]
18-
1916
[lib]
2017
name = "qr2term"
2118
path = "src/lib.rs"
2219

2320
[dependencies]
24-
crossterm = { version = "0.28", default-features = false }
21+
crossterm = { version = "0.28", default-features = false, features = [
22+
"windows",
23+
] }
2524
qrcode = { version = "0.14", default-features = false }
2625

2726
[dev-dependencies]
2827
regex = { version = "1", default-features = false, features = ["std"] }
2928

29+
[target.'cfg(windows)'.dependencies.crossterm]
30+
version = "0.28"
31+
features = ["windows"]
32+
3033
[package.metadata.docs.rs]
3134
targets = ["x86_64-unknown-linux-gnu"]

0 commit comments

Comments
 (0)