Skip to content

Commit

Permalink
Merge pull request #68 from cptpiepmatz/master
Browse files Browse the repository at this point in the history
Build Rustix Only for Unix
  • Loading branch information
eminence authored Nov 29, 2024
2 parents f6b81b5 + b79643a commit 6cb0bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "terminal_size"
version = "0.4.0"
version = "0.4.1"
authors = ["Andrew Chin <achin@eminence32.net>"]
description = "Gets the size of your Linux or Windows terminal"
documentation = "https://docs.rs/terminal_size"
Expand All @@ -11,7 +11,7 @@ edition = "2021"
rust-version = "1.63"


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

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

0 comments on commit 6cb0bf9

Please sign in to comment.