| 1 | [package] |
| 2 | name = "terminal_size" |
| 3 | version = "0.4.2" |
| 4 | authors = ["Andrew Chin <achin@eminence32.net>" ] |
| 5 | description = "Gets the size of your Linux or Windows terminal" |
| 6 | documentation = "https://docs.rs/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 | rust-version = "1.63" |
| 12 | |
| 13 | |
| 14 | [target.'cfg(unix)'.dependencies] |
| 15 | rustix = { version = "1.0.1" , features = ["termios" ] } |
| 16 | |
| 17 | [target.'cfg(windows)'.dependencies.windows-sys] |
| 18 | version = "0.59.0" |
| 19 | features = [ |
| 20 | "Win32_Foundation" , |
| 21 | "Win32_System_Console" , |
| 22 | ] |
| 23 | |