File: Cargo.toml

package info (click to toggle)
rust-terminal-size 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 168 kB
  • sloc: makefile: 2
file content (57 lines) | stat: -rw-r--r-- 1,430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.63"
name = "terminal_size"
version = "0.4.2"
authors = ["Andrew Chin <achin@eminence32.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Gets the size of your Linux or Windows terminal"
documentation = "https://docs.rs/terminal_size"
readme = "README.md"
keywords = [
    "terminal",
    "console",
    "term",
    "size",
    "dimensions",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eminence/terminal-size"

[lib]
name = "terminal_size"
path = "src/lib.rs"

[[example]]
name = "get_size"
path = "examples/get_size.rs"

[target."cfg(unix)".dependencies.rustix]
version = "1.0.1"
features = ["termios"]

[target."cfg(not(windows))".dev-dependencies.libc]
version = "0.2"

# [target."cfg(windows)".dependencies.windows-sys]
# version = "0.59.0"
# features = [
#     "Win32_Foundation",
#     "Win32_System_Console",
# ]