[package]
edition = "2024"
name = "hackshell"
version = "0.4.0"
authors = ["Francesco Pompo' <f@francesco.cc>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight, customizable shell framework"
readme = "README.md"
license = "MIT"
repository = "https://github.com/deade1e/hackshell"
[features]
async = [
"tokio/rt-multi-thread",
"async-trait",
]
default = []
[lib]
name = "hackshell"
path = "src/lib.rs"
[[example]]
name = "async"
path = "examples/async.rs"
required-features = ["async"]
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "fork"
path = "examples/fork.rs"
[[example]]
name = "helloworld"
path = "examples/helloworld.rs"
[[example]]
name = "printsecret"
path = "examples/printsecret.rs"
[[example]]
name = "runtask"
path = "examples/runtask.rs"
[[test]]
name = "fork"
path = "tests/fork.rs"
[[test]]
name = "taskpool"
path = "tests/taskpool.rs"
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.chrono]
version = "0.4.40"
[dependencies.rustyline]
version = "17.0.1"
[dependencies.shlex]
version = "1.3.0"
[dependencies.tokio]
version = "1"
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"time",
"macros",
]