Debian Codegraph @

src/uu/tty/Cargo.toml

raw
1 [package]
2 name = "uu_tty"
3 description = "tty ~ (uutils) display the name of the terminal connected to standard input"
4 repository = "https://github.com/uutils/coreutils/tree/main/src/uu/tty"
5 version.workspace = true
6 license.workspace = true
7 homepage.workspace = true
8 keywords.workspace = true
9 categories.workspace = true
10 edition.workspace = true
11 rust-version.workspace = true
12 readme.workspace = true
13
14 [lib]
15 path = "src/tty.rs"
16 test = false
17 doctest = false
18
19 [target.'cfg(not(target_os = "fuchsia"))'.dependencies]
20 clap = { workspace = true }
21 uucore = { workspace = true, features = ["fs"] }
22 fluent = { workspace = true }
23
24 [target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
25 rustix = { workspace = true, features = ["fs", "termios"] }
26
27 [target.'cfg(windows)'.dependencies]
28 windows-sys = { workspace = true, features = [
29 "Win32_Storage_FileSystem",
30 "Win32_Foundation",
31 ] }
32
33 [lints]
34 workspace = true
35
36 [[bin]]
37 name = "tty"
38 path = "src/main.rs"