expectrl 0.9.0

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

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

[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"

[[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"

[[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"

[dependencies.futures-lite]
version = "1.12.0"
optional = true

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

[dependencies.regex]
version = "1.6.0"

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

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

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

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

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

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

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