[package]
edition = "2024"
rust-version = "1.95"
name = "oxide-batch-cli"
version = "0.5.0"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal guarded operator command line for OxideBatch"
readme = "README.md"
keywords = [
"batch",
"cli",
"operations",
"job",
"operator",
]
categories = [
"command-line-utilities",
"asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/luceat-lux-vestra/oxide-batch"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["postgres"]
postgres = [
"oxide-batch/postgres",
"dep:tokio",
]
[lib]
name = "oxide_batch_cli"
path = "src/lib.rs"
[[bin]]
name = "oxide-batch"
path = "src/bin/oxide-batch.rs"
doc = false
required-features = ["postgres"]
[[test]]
name = "m5_redaction_sweep"
path = "tests/m5_redaction_sweep.rs"
[[test]]
name = "m5_resource_bound_shedding"
path = "tests/m5_resource_bound_shedding.rs"
[[test]]
name = "operator_cli"
path = "tests/operator_cli.rs"
[dependencies.futures-util]
version = "0.3.31"
features = ["std"]
default-features = false
[dependencies.oxide-batch]
version = "0.5.0"
[dependencies.serde_json]
version = "1.0.151"
[dependencies.sha2]
version = "0.11.0"
[dependencies.tokio]
version = "1.53.1"
features = [
"macros",
"rt",
]
optional = true
[dev-dependencies.futures-executor]
version = "0.3.31"
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"