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 believe there's an error in this file please file an
9# issue against the rust-lang/cargo repository. If you're
10# editing this file be aware that the upstream Cargo.toml
11# will likely look very different (and much more reasonable)
12
13[package]
14edition = "2018"
15name = "crossterm"
16version = "0.21.0"
17authors = ["T. Post"]
18exclude = ["target", "Cargo.lock"]
19description = "A crossplatform terminal library for manipulating terminals."
20documentation = "https://docs.rs/crossterm/"
21readme = "README.md"
22keywords = ["event", "color", "cli", "input", "terminal"]
23categories = ["command-line-interface", "command-line-utilities"]
24license = "MIT"
25repository = "https://github.com/crossterm-rs/crossterm"
26[package.metadata.docs.rs]
27all-features = true
28
29[lib]
30name = "crossterm"
31path = "src/lib.rs"
32
33[[example]]
34name = "event-stream-async-std"
35required-features = ["event-stream"]
36
37[[example]]
38name = "event-stream-tokio"
39required-features = ["event-stream"]
40[dependencies.bitflags]
41version = "1.2"
42
43[dependencies.futures-core]
44version = "0.3"
45optional = true
46default-features = false
47
48[dependencies.parking_lot]
49version = "0.11"
50
51[dependencies.serde]
52version = "1.0"
53features = ["derive"]
54optional = true
55[dev-dependencies.async-std]
56version = "1.9"
57
58[dev-dependencies.futures]
59version = "0.3"
60
61[dev-dependencies.futures-timer]
62version = "3.0"
63
64[dev-dependencies.serde_json]
65version = "1.0.45"
66
67[dev-dependencies.tokio]
68version = "1.5"
69features = ["full"]
70
71[features]
72default = []
73event-stream = ["futures-core"]
74[target."cfg(unix)".dependencies.libc]
75version = "0.2"
76
77[target."cfg(unix)".dependencies.mio]
78version = "0.7"
79features = ["os-poll"]
80
81[target."cfg(unix)".dependencies.signal-hook]
82version = "0.3.8"
83
84[target."cfg(unix)".dependencies.signal-hook-mio]
85version = "0.2.1"
86features = ["support-v0_7"]
87[target."cfg(windows)".dependencies.crossterm_winapi]
88version = "0.8"
89
90[target."cfg(windows)".dependencies.winapi]
91version = "0.3.9"
92features = ["winuser"]
93