[package]
name = "tasker-client"
version = "0.1.2"
edition = "2021"
description = "Tasker API client library — transport-agnostic REST and gRPC clients"
readme = "README.md"
repository = "https://github.com/tasker-systems/tasker-core"
license = "MIT"
keywords = ["api", "client", "orchestration", "rest", "workflow"]
categories = ["api-bindings", "asynchronous", "web-programming"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.cargo-machete]
ignored = [
"dotenvy",
"tokio-test",
"workspace_tools",
"futures",
"once_cell",
]
[lib]
name = "tasker_client"
path = "src/lib.rs"
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
chrono = { workspace = true }
config = { workspace = true }
dirs = "6.0"
futures = { workspace = true }
once_cell = { workspace = true }
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tasker-shared = { path = "../tasker-shared", version = "=0.1.2" }
tonic = { workspace = true, optional = true }
prost-types = { workspace = true, optional = true }
thiserror = { workspace = true }
tokio = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }
uuid = { workspace = true }
workspace_tools = { workspace = true }
[dev-dependencies]
dotenvy = { workspace = true }
tempfile = { workspace = true }
tokio-test = { workspace = true }
[features]
default = ["grpc"]
grpc = ["tonic", "prost-types", "tasker-shared/grpc-api"]
test-services = []
[lints]
workspace = true