turnframe-tasks 0.2.0

Small, typed model tasks for Turnframe: per-task prompts, models and settings, budgets, repair, voting, escalation and a record of every call
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "turnframe-tasks"
version = "0.2.0"
authors = ["Turnframe contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small, typed model tasks for Turnframe: per-task prompts, models and settings, budgets, repair, voting, escalation and a record of every call"
homepage = "https://turnframe.rs"
documentation = "https://docs.rs/turnframe"
readme = "README.md"
keywords = [
    "llm",
    "workflow",
    "conversation",
    "deterministic",
    "orchestration",
]
categories = [
    "asynchronous",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/turnframe-rs/turnframe"

[lib]
name = "turnframe_tasks"
path = "src/lib.rs"

[[test]]
name = "a_call_beyond_the_budget_is_never_sent"
path = "tests/a_call_beyond_the_budget_is_never_sent.rs"

[[test]]
name = "a_refused_call_is_sent_again_in_place"
path = "tests/a_refused_call_is_sent_again_in_place.rs"

[[test]]
name = "a_scope_runs_its_tasks_under_its_own_profiles"
path = "tests/a_scope_runs_its_tasks_under_its_own_profiles.rs"

[[test]]
name = "a_split_vote_is_read_once_more"
path = "tests/a_split_vote_is_read_once_more.rs"

[[test]]
name = "a_wrong_answer_is_repaired_with_the_exact_error"
path = "tests/a_wrong_answer_is_repaired_with_the_exact_error.rs"

[[test]]
name = "an_answer_that_stays_wrong_escalates_to_the_stronger_model"
path = "tests/an_answer_that_stays_wrong_escalates_to_the_stronger_model.rs"

[[test]]
name = "every_call_is_recorded_with_what_it_ran_under"
path = "tests/every_call_is_recorded_with_what_it_ran_under.rs"

[[test]]
name = "feedback_from_a_verifier_reaches_the_next_call"
path = "tests/feedback_from_a_verifier_reaches_the_next_call.rs"

[[test]]
name = "votes_are_decided_by_a_strict_majority"
path = "tests/votes_are_decided_by_a_strict_majority.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.turnframe-core]
version = "0.2.0"

[dependencies.turnframe-provider]
version = "0.2.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "macros",
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.toml]
version = "1.1"

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
large_futures = "warn"
missing_errors_doc = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"