hackshell 0.4.0

Lightweight, customizable shell framework
Documentation
# 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 = "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",
]