[package]
edition = "2021"
name = "execra"
version = "1.1.0"
authors = ["AmarBego"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed job runtime for Rust apps that wrap external CLI tools: events, interpreters, cancellation, Tauri integration, and optional persistence."
readme = "README.md"
keywords = [
"process",
"subprocess",
"runtime",
"job",
"tokio",
]
categories = [
"asynchronous",
"os",
]
license = "Apache-2.0"
repository = "https://github.com/AmarBego/Execra"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bundled-sqlite = ["rusqlite/bundled"]
default = [
"bundled-sqlite",
"gzip",
]
gzip = ["dep:flate2"]
interpret = ["dep:regex"]
tauri = ["dep:tauri"]
[lib]
name = "execra"
path = "src/lib.rs"
[[example]]
name = "move1_acceptance"
path = "examples/move1_acceptance.rs"
[[example]]
name = "scoop_doctor"
crate-type = ["lib"]
path = "examples/scoop_doctor.rs"
[[example]]
name = "scoop_install"
crate-type = ["lib"]
path = "examples/scoop_install.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.flate2]
version = "1"
optional = true
[dependencies.futures-core]
version = "0.3"
[dependencies.regex]
version = "1.12.3"
optional = true
[dependencies.rusqlite]
version = "0.39.0"
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tauri]
version = "2"
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1"
features = [
"fs",
"process",
"rt",
"rt-multi-thread",
"io-util",
"macros",
"sync",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.uuid]
version = "1.23.1"
features = [
"v7",
"serde",
]
[dev-dependencies.once_cell]
version = "1.21.4"
[dev-dependencies.regex]
version = "1.12.3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_JobObjects",
"Win32_System_Threading",
]