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