[package]
edition = "2021"
rust-version = "1.95"
name = "taskfast-agent"
version = "0.19.0"
authors = ["Akuja Inc. <onyekwelu+taskfast@obukwelu.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Orchestration library for TaskFast agents: bootstrap, wallet, webhooks, events, signing, keystore."
homepage = "https://github.com/Akuja-Inc/taskfast-cli"
readme = false
license = "MIT"
repository = "https://github.com/Akuja-Inc/taskfast-cli"
[package.metadata.dist]
dist = false
[lib]
name = "taskfast_agent"
path = "src/lib.rs"
[[test]]
name = "bootstrap"
path = "tests/bootstrap.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "poster"
path = "tests/poster.rs"
[[test]]
name = "wallet"
path = "tests/wallet.rs"
[[test]]
name = "webhooks"
path = "tests/webhooks.rs"
[dependencies.alloy-consensus]
version = "2"
[dependencies.alloy-eips]
version = "2"
[dependencies.alloy-primitives]
version = "1"
[dependencies.alloy-signer]
version = "2"
[dependencies.alloy-signer-local]
version = "2"
features = ["keystore"]
[dependencies.alloy-sol-types]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.13"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
"multipart",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.taskfast-client]
version = "0.13.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"serde",
"v4",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
"sync",
"macros",
"rt",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
doc_lazy_continuation = "allow"
doc_markdown = "allow"
from_iter_instead_of_collect = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_like_matches_macro = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_for_each = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
unimplemented = "warn"
uninlined_format_args = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_must_use = "forbid"