expectrl 0.8.0

A tool for automating terminal applications in Unix like Don libes expect
Documentation
[dependencies.futures-lite]
optional = true
version = "1.12.0"

[dependencies.futures-timer]
optional = true
version = "3.0.2"

[dependencies.regex]
version = "1.6.0"

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

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

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

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

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

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

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

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

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

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

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

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

[features]
async = ["futures-lite", "futures-timer", "async-io", "blocking"]
close-range = ["ptyprocess/close-range"]
polling = ["dep:polling", "dep:crossbeam-channel"]

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

[package]
authors = ["Maxim Zhiburt <zhiburt@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "os::unix-apis", "os::windows-apis"]
description = "A tool for automating terminal applications in Unix like Don libes expect"
documentation = "https://docs.rs/expectrl"
edition = "2021"
homepage = "https://github.com/zhiburt/expectrl"
keywords = ["expect", "pty", "testing", "terminal", "automation"]
license = "MIT"
name = "expectrl"
readme = "README.md"
repository = "https://github.com/zhiburt/expectrl"
resolver = "2"
version = "0.8.0"

[package.metadata.docs.rs]
all-features = false

[target."cfg(unix)".dependencies.async-io]
optional = true
version = "1.9.0"

[target."cfg(unix)".dependencies.nix]
version = "0.26"

[target."cfg(unix)".dependencies.polling]
optional = true
version = "2.3.0"

[target."cfg(unix)".dependencies.ptyprocess]
version = "0.5.0"

[target."cfg(windows)".dependencies.blocking]
optional = true
version = "1.2.0"

[target."cfg(windows)".dependencies.conpty]
version = "0.5.0"

[target."cfg(windows)".dependencies.crossbeam-channel]
optional = true
version = "0.5.6"

[[test]]
name = "check"
path = "tests/check.rs"

[[test]]
name = "expect"
path = "tests/expect.rs"

[[test]]
name = "interact"
path = "tests/interact.rs"

[[test]]
name = "io"
path = "tests/io.rs"

[[test]]
name = "is_matched"
path = "tests/is_matched.rs"

[[test]]
name = "log"
path = "tests/log.rs"

[[test]]
name = "repl"
path = "tests/repl.rs"

[[test]]
name = "session"
path = "tests/session.rs"