[package]
edition = "2021"
name = "hanzo-agent"
version = "1.1.21"
authors = ["Hanzo AI <dev@hanzo.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent framework with tool calling capabilities for Hanzo AI"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/hanzoai/rust-sdk"
[lib]
name = "hanzo_agent"
path = "src/lib.rs"
[[example]]
name = "basic_agent"
path = "examples/basic_agent.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.45"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[lints.clippy]
assertions_on_constants = "allow"
bool_comparison = "allow"
borrowed_box = "allow"
clone_on_copy = "allow"
collapsible_if = "allow"
copy_iterator = "allow"
derivable_impls = "allow"
enum_variant_names = "allow"
explicit_auto_deref = "allow"
field_reassign_with_default = "allow"
format_push_string = "allow"
from_over_into = "allow"
if_same_then_else = "allow"
inherent_to_string = "allow"
large_enum_variant = "allow"
len_without_is_empty = "allow"
len_zero = "allow"
let_and_return = "allow"
manual_map = "allow"
map_entry = "allow"
match_like_matches_macro = "allow"
module_inception = "allow"
needless_borrows_for_generic_args = "allow"
needless_question_mark = "allow"
needless_return = "allow"
new_ret_no_self = "allow"
new_without_default = "allow"
nonminimal_bool = "allow"
op_ref = "allow"
ptr_arg = "allow"
redundant_clone = "allow"
redundant_field_names = "allow"
redundant_pattern_matching = "allow"
result_unit_err = "allow"
should_implement_trait = "allow"
single_component_path_imports = "allow"
single_match = "allow"
too_many_arguments = "allow"
trim_split_whitespace = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unnecessary_lazy_evaluations = "allow"
unnecessary_to_owned = "allow"
unnecessary_unwrap = "allow"
upper_case_acronyms = "allow"
useless_conversion = "allow"
useless_format = "allow"
vec_init_then_push = "allow"
while_let_on_iterator = "allow"
wrong_self_convention = "allow"
[lints.rust]
dead_code = "warn"
unused = "warn"