rig-ecs 0.44.0

rig inside a Bevy World: effects as entities, handlers as entities, the driver as a system.
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.95.0"
name = "rig-ecs"
version = "0.44.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "rig inside a Bevy World: effects as entities, handlers as entities, the driver as a system."
readme = "README.md"
license = "MIT"
repository = "https://github.com/0xPlaygrounds/rig"

[features]
assets = ["dep:bevy_asset"]

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

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

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

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

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

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

[[example]]
name = "prompt_from_assets"
path = "examples/prompt_from_assets.rs"
required-features = ["assets"]

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

[[test]]
name = "assets_prompt"
path = "tests/assets_prompt.rs"
required-features = ["assets"]

[[test]]
name = "bus"
path = "tests/bus/main.rs"

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

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

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

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

[[test]]
name = "run"
path = "tests/run/main.rs"

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

[dependencies.base64]
version = "0.22"

[dependencies.bevy_app]
version = "0.19.1"
features = [
    "std",
    "bevy_reflect",
]
default-features = false

[dependencies.bevy_asset]
version = "0.19.1"
optional = true
default-features = false

[dependencies.bevy_diagnostic]
version = "0.19.1"
features = ["std"]
default-features = false

[dependencies.bevy_ecs]
version = "0.19.1"
features = [
    "std",
    "multi_threaded",
    "bevy_reflect",
]
default-features = false

[dependencies.bevy_reflect]
version = "0.19.1"
features = ["std"]
default-features = false

[dependencies.bevy_tasks]
version = "0.19.1"
features = ["multi_threaded"]
default-features = false

[dependencies.bevy_time]
version = "0.19.1"
features = [
    "std",
    "bevy_reflect",
]
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.rig-core]
version = "0.44.0"
default-features = false

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1.0.54"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dev-dependencies.rig-core]
version = "0.44.0"
features = [
    "reqwest",
    "test-utils",
]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.bevy_app]
version = "0.19.1"
features = [
    "std",
    "web",
    "bevy_reflect",
]
default-features = false

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.bevy_platform]
version = "0.19.1"
features = ["web"]
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.rig-reqwest]
version = "0.44.0"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.bevy_app]
version = "0.19.1"
features = [
    "std",
    "web",
    "bevy_reflect",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_enum_variant = "allow"
panic = "deny"
panic_in_result_fn = "deny"
result_large_err = "allow"
should_implement_trait = "allow"
todo = "forbid"
too_many_arguments = "allow"
type_complexity = "allow"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rig_loom)"]