# 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 = "2021" name = "winpty-rs" version = "0.4.0" build = "build.rs" links = "winpty" autobins = false autoexamples = false autotests = false autobenches = false description = "Create and spawn processes inside a pseudoterminal in Windows" homepage = "https://github.com/andfoy/winpty-rs" readme = "README.md" keywords = [ "windows", "pty", "winpty", "conpty", "pseudoterminal", ] license = "MIT OR Apache-2.0" repository = "https://github.com/andfoy/winpty-rs" [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" targets = ["x86_64-pc-windows-msvc"] [lib] name = "winptyrs" path = "src/lib.rs" [[bin]] name = "conpty_example" path = "src/examples/conpty.rs" required-features = ["conpty_example"] [[bin]] name = "winpty_example" path = "src/examples/winpty.rs" required-features = ["winpty_example"] [[test]] name = "conpty" path = "tests/conpty.rs" [[test]] name = "winpty" path = "tests/winpty.rs" [dependencies.bitflags] version = "2.3" [dependencies.enum-primitive-derive] version = "0.3.0" [dependencies.num-traits] version = "0.2" [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", "Win32_System_Console", "Win32_UI_WindowsAndMessaging", ] [dev-dependencies.regex] version = "1.5" [build-dependencies.which] version = "6.0.0" [build-dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_System_LibraryLoader", ] [features] conpty = [] conpty_example = ["conpty"] winpty = [] winpty_example = ["winpty"]