Skip to content

Commit

Permalink
pull rustix only for unix
Browse files Browse the repository at this point in the history
this allows to build this library in wasm
  • Loading branch information
cptpiepmatz committed Nov 21, 2024
1 parent f6b81b5 commit b79643a
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 <[email protected]>"]
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 b79643a

Please sign in to comment.