-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
68 lines (58 loc) · 1.4 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "winpty-rs"
version = "0.4.1-dev"
edition = "2021"
links = "winpty"
license = "MIT OR Apache-2.0"
description = "Create and spawn processes inside a pseudoterminal in Windows"
homepage = "https://github.com/andfoy/winpty-rs"
readme = "README.md"
repository = "https://github.com/andfoy/winpty-rs"
keywords = ["windows", "pty", "winpty", "conpty", "pseudoterminal"]
[dependencies]
enum-primitive-derive = "0.3.0"
num-traits = "0.2"
bitflags = "2.3"
[build-dependencies]
which = "7.0.0"
[dependencies.windows]
version = "0.58.0"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Pipes",
"Win32_System_Threading",
"Win32_Security",
"Win32_Globalization",
# ConPTY-specific
"Win32_System_Console",
"Win32_UI_WindowsAndMessaging"
]
[build-dependencies.windows]
version = "0.58.0"
features = [
"Win32_Foundation",
"Win32_System_LibraryLoader"
]
[dev-dependencies]
regex = "1.5"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]
[features]
conpty = []
winpty = []
winpty_example = ["winpty"]
conpty_example = ["conpty"]
[lib]
name = "winptyrs"
path = "src/lib.rs"
[[bin]]
name = "winpty_example"
path = "src/examples/winpty.rs"
required-features = ["winpty_example"]
[[bin]]
name = "conpty_example"
path = "src/examples/conpty.rs"
required-features = ["conpty_example"]