a2ui 0.2.0

A2UI (Agent to UI) — render JSON streaming UIs authored by AI agents (ratatui + Slint backends)
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 = "a2ui"
version = "0.2.0"
authors = ["Liangdi <wu@liangdi.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A2UI (Agent to UI) — render JSON streaming UIs authored by AI agents (ratatui + Slint backends)"
readme = false
license = "MIT"
repository = "https://github.com/Liangdi/a2ui"

[features]
audio = ["a2ui-tui/audio"]
default = []
slint = ["dep:a2ui-slint"]

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

[[example]]
name = "01_hello_world"
path = "examples/01_hello_world.rs"

[[example]]
name = "02_jsonl_stream"
path = "examples/02_jsonl_stream.rs"

[[example]]
name = "03_data_binding"
path = "examples/03_data_binding.rs"

[[example]]
name = "04_login_form"
path = "examples/04_login_form.rs"

[[example]]
name = "05_custom_function"
path = "examples/05_custom_function.rs"

[[example]]
name = "06_call_function"
path = "examples/06_call_function.rs"

[[example]]
name = "07_action_response"
path = "examples/07_action_response.rs"

[[example]]
name = "07b_action_response_debug"
path = "examples/07b_action_response_debug.rs"

[[example]]
name = "07c_card_minimal"
path = "examples/07c_card_minimal.rs"

[[example]]
name = "08_agent_chat"
path = "examples/08_agent_chat.rs"

[[example]]
name = "09_interactive_form"
path = "examples/09_interactive_form.rs"

[[example]]
name = "10_template_list"
path = "examples/10_template_list.rs"

[[example]]
name = "11_tabs_and_modals"
path = "examples/11_tabs_and_modals.rs"

[[example]]
name = "12_handshake"
path = "examples/12_handshake.rs"

[[example]]
name = "13_image"
path = "examples/13_image.rs"

[[example]]
name = "14_audio"
path = "examples/14_audio.rs"
required-features = ["audio"]

[[example]]
name = "15_date_time_input"
path = "examples/15_date_time_input.rs"

[[example]]
name = "16_custom_component"
path = "examples/16_custom_component.rs"

[[example]]
name = "17_scifi_hud"
path = "examples/17_scifi_hud.rs"

[dependencies.a2ui-base]
version = "0.2.0"

[dependencies.a2ui-slint]
version = "0.2.0"
features = ["backend"]
optional = true

[dependencies.a2ui-tui]
version = "0.2.0"

[dev-dependencies.crossterm]
version = "0.29"

[dev-dependencies.ratatui]
version = "0.30.1"

[dev-dependencies.serde_json]
version = "1"