[package] name = "expectrl" version = "0.7.1" authors = ["Maxim Zhiburt "] edition = "2021" resolver = "2" description = "A tool for automating terminal applications in Unix like Don libes expect" repository = "https://github.com/zhiburt/expectrl" homepage = "https://github.com/zhiburt/expectrl" documentation = "https://docs.rs/expectrl" license = "MIT" categories = ["development-tools::testing", "os::unix-apis", "os::windows-apis"] keywords = ["expect", "pty", "testing", "terminal", "automation"] readme = "README.md" [features] # "pooling" feature works only for not async version polling = ["dep:polling", "dep:crossbeam-channel"] async = ["futures-lite", "futures-timer", "async-io", "blocking"] [dependencies] regex = "1.6.0" futures-lite = { version = "1.12.0", optional = true } futures-timer = { version = "3.0.2", optional = true } [target.'cfg(unix)'.dependencies] ptyprocess = "0.4.1" nix = "0.26" async-io = { version = "1.9.0", optional = true } polling = { version = "2.3.0", optional = true } [target.'cfg(windows)'.dependencies] conpty = "0.5.0" blocking = { version = "1.2.0", optional = true } crossbeam-channel = { version = "0.5.6", optional = true } [package.metadata.docs.rs] all-features = false