1[package]
2name = "terminal_size"
3version = "0.3.0"
4authors = ["Andrew Chin <achin@eminence32.net>"]
5description = "Gets the size of your Linux or Windows terminal"
6documentation = "https://docs.rs/crate/terminal_size"
7repository = "https://github.com/eminence/terminal-size"
8keywords = ["terminal", "console", "term", "size", "dimensions"]
9license = "MIT OR Apache-2.0"
10edition = "2021"
11
12
13[target.'cfg(not(windows))'.dependencies]
14rustix = { version = "0.38.0", features = ["termios"] }
15
16[target.'cfg(windows)'.dependencies.windows-sys]
17version = "0.48.0"
18features = [
19 "Win32_Foundation",
20 "Win32_System_Console",
21]
22