# 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"
rust-version = "1.85"
name = "execkit"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stateful, structured, safe shell sessions for AI agents on real infrastructure."
homepage = "https://github.com/blinkingbit-oss/execkit"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "shell",
    "pty",
    "ssh",
]
categories = [
    "development-tools",
    "command-line-interface",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/blinkingbit-oss/execkit"

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

[package.metadata.dist]
dist = false

[features]
default = ["ssh"]
ssh = [
    "dep:russh",
    "dep:tokio",
]

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

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

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

[[example]]
name = "ssh"
path = "examples/ssh.rs"
required-features = ["ssh"]

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

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

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

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

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

[dependencies.portable-pty]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.russh]
version = "0.61"
features = [
    "ring",
    "flate2",
    "rsa",
]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
    "io-util",
    "net",
    "time",
]
optional = true
