Skip to content

Commit 6cb0bf9

Browse files
authored
Merge pull request #68 from cptpiepmatz/master
Build Rustix Only for Unix
2 parents f6b81b5 + b79643a commit 6cb0bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "terminal_size"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
authors = ["Andrew Chin <achin@eminence32.net>"]
55
description = "Gets the size of your Linux or Windows terminal"
66
documentation = "https://docs.rs/terminal_size"
@@ -11,7 +11,7 @@ edition = "2021"
1111
rust-version = "1.63"
1212

1313

14-
[target.'cfg(not(windows))'.dependencies]
14+
[target.'cfg(unix)'.dependencies]
1515
rustix = { version = "0.38.0", features = ["termios"] }
1616

1717
[target.'cfg(windows)'.dependencies.windows-sys]

0 commit comments

Comments
 (0)