| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.71" |
| 15 |
name = "terminal_size" |
| 16 |
version = "0.4.4" |
| 17 |
authors = ["Andrew Chin <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Gets the size of your Linux or Windows terminal" |
| 25 |
documentation = "https://docs.rs/terminal_size" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"terminal", |
| 29 |
"console", |
| 30 |
"term", |
| 31 |
"size", |
| 32 |
"dimensions", |
| 33 |
] |
| 34 |
license = "MIT OR Apache-2.0" |
| 35 |
repository = "https://github.com/eminence/terminal-size" |
| 36 |
|
| 37 |
[lib] |
| 38 |
name = "terminal_size" |
| 39 |
path = "src/lib.rs" |
| 40 |
|
| 41 |
[[example]] |
| 42 |
name = "get_size" |
| 43 |
path = "examples/get_size.rs" |
| 44 |
|
| 45 |
[target."cfg(unix)".dependencies.rustix] |
| 46 |
version = "1.0.1" |
| 47 |
features = ["termios"] |
| 48 |
|
| 49 |
[target."cfg(windows)".dependencies.windows-sys] |
| 50 |
version = ">=0.59, <=0.61" |
| 51 |
features = [ |
| 52 |
"Win32_Foundation", |
| 53 |
"Win32_System_Console", |
| 54 |
] |