machi-workflow 1.0.0

Journaled Rhai workflow engine for Machi (no LLM dependency)
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"
name = "machi-workflow"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Journaled Rhai workflow engine for Machi (no LLM dependency)"
readme = false
keywords = [
    "ai",
    "workflow",
    "agent",
    "rhai",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/qntx/machi"

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

[[bench]]
name = "journal"
path = "benches/journal.rs"
harness = false

[dependencies.rhai]
version = "1.22"
features = [
    "std",
    "sync",
    "serde",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.51.0"
features = [
    "sync",
    "macros",
    "rt",
    "time",
    "rt-multi-thread",
    "net",
    "io-util",
    "sync",
    "rt",
]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.51.0"
features = [
    "sync",
    "macros",
    "rt",
    "time",
    "rt-multi-thread",
    "net",
    "io-util",
    "rt-multi-thread",
    "macros",
]
default-features = false

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
allow_attributes_without_reason = "warn"
as_underscore = "warn"
assigning_clones = "allow"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
boxed_local = "allow"
cargo_common_metadata = "allow"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_precision_loss = "allow"
cast_sign_loss = "warn"
clone_on_ref_ptr = "allow"
cognitive_complexity = "warn"
dbg_macro = "warn"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
equatable_if_let = "allow"
error_impl_error = "warn"
excessive_nesting = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
exit = "warn"
expect_used = "warn"
fallible_impl_from = "warn"
fn_params_excessive_bools = "warn"
format_push_string = "warn"
future_not_send = "warn"
implicit_hasher = "warn"
indexing_slicing = "warn"
infinite_loop = "warn"
large_types_passed_by_value = "warn"
let_underscore_must_use = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
missing_assert_message = "warn"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "warn"
needless_borrows_for_generic_args = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "warn"
option_if_let_else = "allow"
or_fun_call = "allow"
panic = "warn"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "allow"
redundant_pub_crate = "allow"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "warn"
semicolon_inside_block = "allow"
semicolon_outside_block = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
significant_drop_tightening = "warn"
similar_names = "allow"
str_to_string = "warn"
string_lit_as_bytes = "warn"
struct_excessive_bools = "warn"
tests_outside_test_module = "warn"
todo = "warn"
too_many_lines = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_box_returns = "allow"
unnecessary_literal_bound = "allow"
unnecessary_self_imports = "warn"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unused_self = "allow"
unwrap_in_result = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "allow"

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

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

[lints.clippy.correctness]
level = "deny"
priority = -1

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

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

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

[lints.clippy.restriction]
level = "allow"
priority = -1

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

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "deny"
non_camel_case_types = "warn"
non_snake_case = "warn"
non_upper_case_globals = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_crate_dependencies = "warn"
unused_imports = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_must_use = "deny"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rust.keyword_idents]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_html_tags = "warn"
invalid_rust_codeblocks = "warn"
missing_crate_level_docs = "warn"
private_intra_doc_links = "warn"
unescaped_backticks = "warn"

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