-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
39 lines (32 loc) · 972 Bytes
/
Cargo.toml
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
[package]
name = "pseudoterminal"
description = "A cross-platform pseudoterminal implementation with async support"
version = "0.1.1"
license = "MIT"
edition = "2021"
repository = "https://github.com/michaelvanstraten/pseudoterminal"
[package.metadata.docs.rs]
# document all features
all-features = true
keywords = ["pty", "conpty", "terminal", "process"]
categories = ["asynchronous", "command-line-interface"]
[dependencies]
cfg-if = "1.0.0"
tokio = { version = "1.32.0", default-features = false, features = [
"process",
"fs",
], optional = true }
[target.'cfg(not(windows))'.dependencies]
nix = { version = "0.27.1", features = ["term", "ioctl", "process", "fs"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.51.0", features = [
"Win32_System_Pipes",
"Win32_Foundation",
"Win32_Security",
"Win32_System_Console",
"Win32_System_Threading",
] }
[build-dependencies]
rustc_version = "0.4.0"
[features]
non-blocking = ["dep:tokio"]