aboutsummaryrefslogtreecommitdiff
path: root/vendor/portable-pty/Cargo.toml
blob: 8a33abf965f0ff9ac8f0c30c77f32c800fcb1d9e (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# 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 = "2018"
name = "portable-pty"
version = "0.9.0"
authors = ["Wez Furlong"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross platform pty interface"
documentation = "https://docs.rs/portable-pty"
readme = false
license = "MIT"
repository = "https://github.com/wezterm/wezterm"
resolver = "2"

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.downcast-rs]
version = "1.0"

[dependencies.filedescriptor]
version = "0.8.3"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.28"
features = [
    "term",
    "fs",
]

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_derive]
version = "1.0"
optional = true

[dependencies.serial2]
version = "0.2"

[dependencies.shell-words]
version = "1.1"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.smol]
version = "2.0"

[features]
default = []
serde_support = [
    "serde",
    "serde_derive",
]

[target."cfg(windows)".dependencies.bitflags]
version = "1.3"

[target."cfg(windows)".dependencies.lazy_static]
version = "1.4"

[target."cfg(windows)".dependencies.sha2]
version = "0.10"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "winuser",
    "consoleapi",
    "handleapi",
    "fileapi",
    "libloaderapi",
    "namedpipeapi",
    "synchapi",
]

[target."cfg(windows)".dependencies.winreg]
version = "0.10"