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