[package]
edition = "2021"
name = "putty_core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core connection, profile storage, and transport logic for putty-rs"
readme = "README.md"
keywords = [
"terminal",
"serial",
"ssh",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/simon-rechermann/putty_rs_async"
[features]
default = [
"serial",
"ssh",
]
hw-tests = []
serial = ["dep:tokio-serial"]
ssh = ["dep:ssh2"]
[lib]
name = "putty_core"
crate-type = ["rlib"]
path = "src/lib.rs"
[[test]]
name = "concurrent"
path = "tests/concurrent.rs"
[[test]]
name = "gracefull_shutdown"
path = "tests/gracefull_shutdown.rs"
[[test]]
name = "hw_serial"
path = "tests/hw_serial.rs"
[[test]]
name = "hw_ssh"
path = "tests/hw_ssh.rs"
[[test]]
name = "profile_store"
path = "tests/profile_store.rs"
[[test]]
name = "roundtrip_and_write"
path = "tests/roundtrip_and_write.rs"
[dependencies.async-trait]
version = "0.1.88"
[dependencies.crossterm]
version = "0.29.0"
[dependencies.directories]
version = "6.0"
[dependencies.env_logger]
version = "0.11.8"
[dependencies.keyring]
version = "3.6.3"
features = [
"apple-native",
"windows-native",
"linux-native",
]
[dependencies.log]
version = "0.4.27"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.ssh2]
version = "0.9.5"
optional = true
[dependencies.tokio]
version = "1.44.2"
features = ["full"]
[dependencies.tokio-serial]
version = "5.4.5"
optional = true
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.which]
version = "8.0.0"