# 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 = "2024"
name = "bashkit-cli"
version = "0.10.0"
authors = ["Everruns"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command line interface for Bashkit virtual bash interpreter"
readme = "README.md"
keywords = [
    "bash",
    "virtual",
    "ai",
    "agent",
    "everruns",
]
categories = [
    "command-line-utilities",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/everruns/bashkit"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/bashkit-{ target }{ archive-suffix }"
pkg-fmt = "tgz"

[features]
default = [
    "sqlite",
    "interactive",
]
interactive = [
    "dep:rustyline",
    "dep:terminal_size",
    "dep:signal-hook",
]
realfs = ["bashkit/realfs"]
scripted_tool = ["bashkit/scripted_tool"]
sqlite = ["bashkit/sqlite"]

[[bin]]
name = "bashkit"
path = "src/main.rs"
doc = false

[dependencies.anyhow]
version = "1"

[dependencies.bashkit]
version = "0.10.0"
features = [
    "http_client",
    "git",
    "jq",
]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.rustyline]
version = "18"
optional = true

[dependencies.signal-hook]
version = "0.4"
optional = true

[dependencies.terminal_size]
version = "0.4"
optional = true

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

[dev-dependencies.tempfile]
version = "3"
