tool-orchestrator 1.0.0

Rhai-based tool orchestration for AI agents - implements Anthropic's programmatic tool calling pattern
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.85"
name = "tool-orchestrator"
version = "1.0.0"
authors = ["Brainwires Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rhai-based tool orchestration for AI agents - implements Anthropic's programmatic tool calling pattern"
documentation = "https://docs.rs/tool-orchestrator"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "tools",
    "orchestration",
    "rhai",
]
categories = [
    "development-tools",
    "wasm",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/Brainwires/tool-orchestrator"

[features]
default = ["native"]
native = ["rhai/sync"]
wasm = [
    "wasm-bindgen",
    "js-sys",
    "web-sys",
    "serde-wasm-bindgen",
    "web-time",
    "getrandom/js",
    "console_error_panic_hook",
    "instant",
]

[lib]
name = "tool_orchestrator"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "expense_aggregation"
path = "examples/expense_aggregation.rs"
required-features = ["native"]

[[example]]
name = "file_operations"
path = "examples/file_operations.rs"
required-features = ["native"]

[[example]]
name = "multi_api"
path = "examples/multi_api.rs"
required-features = ["native"]

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

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

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.getrandom]
version = "0.2"
optional = true

[dependencies.instant]
version = "0.1"
features = ["wasm-bindgen"]
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

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

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

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.wasm-bindgen]
version = "0.2"
features = ["serde-serialize"]
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["console"]
optional = true

[dependencies.web-time]
version = "1.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.wasm-bindgen-test]
version = "0.3.55"

[profile.release]
opt-level = "s"
lto = true