machi 0.4.0

A Rust implementation of smolagents - lightweight AI agents framework
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"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of smolagents - lightweight AI agents framework"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/pyroth/machi"

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

[[example]]
name = "agent_audio"
path = "examples/agent_audio.rs"

[[example]]
name = "agent_detailed"
path = "examples/agent_detailed.rs"

[[example]]
name = "agent_simple"
path = "examples/agent_simple.rs"

[[example]]
name = "agent_stream"
path = "examples/agent_stream.rs"

[[example]]
name = "agent_telemetry"
path = "examples/agent_telemetry.rs"

[[example]]
name = "agent_tools"
path = "examples/agent_tools.rs"

[[example]]
name = "agent_vision"
path = "examples/agent_vision.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

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

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.convert_case]
version = "0.11.0"

[dependencies.futures]
version = "0.3"

[dependencies.html-escape]
version = "0.2"

[dependencies.machi-derive]
version = "0.4.0"

[dependencies.minijinja]
version = "2.6"
features = ["loader"]

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "stream",
    "multipart",
]

[dependencies.rmcp]
version = "0.14"
features = [
    "client",
    "transport-child-process",
    "transport-streamable-http-client-reqwest",
]

[dependencies.scraper]
version = "0.25.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.44"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2.1"

[dependencies.uuid]
version = "1.16"
features = [
    "v4",
    "serde",
]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[lints.clippy]
cargo_common_metadata = "allow"
cast_precision_loss = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
excessive_nesting = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
fn_params_excessive_bools = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"

[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.style]
level = "warn"
priority = -1

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

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

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