# 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 = "2021"
rust-version = "1.74"
name = "axllm"
version = "23.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generated Ax runtime library"
readme = "README.md"
keywords = [
    "llm",
    "ai",
    "agents",
    "ax",
]
categories = [
    "api-bindings",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/ax-llm/ax"

[features]
default = []
realtime = ["dep:tungstenite"]
runtime-quickjs = ["dep:rquickjs"]

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

[[bin]]
name = "axllm-conformance"
path = "src/bin/axllm-conformance.rs"

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

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

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

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

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

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

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

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

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

[[example]]
name = "javascript_quickjs"
path = "examples/runtime_profiles/javascript_quickjs.rs"
required-features = ["runtime-quickjs"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rquickjs]
version = "0.12"
optional = true

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

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

[dependencies.tungstenite]
version = "0.24"
features = ["rustls-tls-webpki-roots"]
optional = true
