[package]
edition = "2021"
rust-version = "1.85"
name = "rustvello"
version = "0.1.6"
authors = ["Luis Diaz <code.luis.diaz@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Distributed task library for Rust, inspired by pynenc"
homepage = "https://pynenc.org"
readme = false
license = "MIT"
repository = "https://github.com/pynenc/rustvello"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["mem"]
full = [
"mem",
"sqlite",
"redis",
"mongodb",
"mongodb3",
"rabbitmq",
"prometheus",
"postgres",
"tls",
]
mem = ["dep:rustvello-mem"]
mongodb = ["dep:rustvello-mongo"]
mongodb3 = ["dep:rustvello-mongo3"]
postgres = ["dep:rustvello-postgres"]
prometheus = ["dep:rustvello-prometheus"]
rabbitmq = ["dep:rustvello-rabbitmq"]
rayon = ["dep:rayon"]
redis = ["dep:rustvello-redis"]
sqlite = ["dep:rustvello-sqlite"]
tls = ["rustvello-postgres?/tls"]
[lib]
name = "rustvello"
path = "src/lib.rs"
[[test]]
name = "app_integration_tests"
path = "tests/app_integration_tests.rs"
[[test]]
name = "combination_tests"
path = "tests/combination_tests.rs"
[[test]]
name = "concurrency_stress_tests"
path = "tests/concurrency_stress_tests.rs"
[[test]]
name = "discovery_tests"
path = "tests/discovery_tests.rs"
[[test]]
name = "runner_context_tests"
path = "tests/runner_context_tests.rs"
[[test]]
name = "runner_hardening_tests"
path = "tests/runner_hardening_tests.rs"
[[test]]
name = "runner_span_tests"
path = "tests/runner_span_tests.rs"
[[test]]
name = "trigger_tests"
path = "tests/trigger_tests.rs"
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[[test]]
name = "typed_task_tests"
path = "tests/typed_task_tests.rs"
[[test]]
name = "workflow_tests"
path = "tests/workflow_tests.rs"
[[bench]]
name = "broker_bench"
path = "benches/broker_bench.rs"
harness = false
[[bench]]
name = "orchestrator_bench"
path = "benches/orchestrator_bench.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.cistell-core]
version = "0.1.2"
features = [
"toml",
"tracing",
]
[dependencies.croner]
version = "3"
[dependencies.inventory]
version = "0.3"
[dependencies.rayon]
version = "1.10"
optional = true
[dependencies.rustvello-core]
version = "0.1.6"
[dependencies.rustvello-macros]
version = "0.1.6"
[dependencies.rustvello-mem]
version = "0.1.6"
optional = true
[dependencies.rustvello-mongo]
version = "0.1.6"
optional = true
[dependencies.rustvello-mongo3]
version = "0.1.6"
optional = true
[dependencies.rustvello-postgres]
version = "0.1.6"
optional = true
[dependencies.rustvello-prometheus]
version = "0.1.6"
optional = true
[dependencies.rustvello-proto]
version = "0.1.6"
[dependencies.rustvello-rabbitmq]
version = "0.1.6"
optional = true
[dependencies.rustvello-redis]
version = "0.1.6"
optional = true
[dependencies.rustvello-sqlite]
version = "0.1.6"
optional = true
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"fmt",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
"macros",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"env-filter",
"fmt",
]
[dev-dependencies.trybuild]
version = "1"
[lints.clippy]
clone_on_ref_ptr = "warn"
map_unwrap_or = "warn"
module_name_repetitions = "allow"
redundant_closure_for_method_calls = "warn"
unnecessary_wraps = "warn"
wildcard_imports = "warn"
[lints.rust]
unsafe_code = "deny"