# 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"
name = "arora"
version = "5.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opinionated Arora runtime: an engine pre-wired with the native behavior-tree control nodes and the Semio backend."
readme = false
license = "MIT"

[features]
default = [
    "native",
    "tui",
]
native = [
    "dep:tokio",
    "dep:arora-bridge-ws",
    "dep:env_logger",
    "dep:async-trait",
    "arora-engine/wasmtime-host",
    "arora-engine/native-host",
]
studio-bridge = [
    "native",
    "dep:arora-studio-bridge-client",
    "dep:crypto_secretbox",
    "dep:dirs",
    "dep:rustls",
]
tui = [
    "native",
    "dep:ratatui",
    "dep:sysinfo",
    "dep:env_filter",
]

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

[[bin]]
name = "arora"
path = "src/main.rs"
required-features = ["native"]

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

[dependencies.anyhow]
version = "1"

[dependencies.arora-behavior]
version = "3"

[dependencies.arora-behavior-tree]
version = "4"

[dependencies.arora-bridge]
version = "3"

[dependencies.arora-bridge-ws]
version = "3"
optional = true

[dependencies.arora-engine]
version = "1"
default-features = false

[dependencies.arora-hal]
version = "2"

[dependencies.arora-simple-data-store]
version = "1"

[dependencies.arora-studio-bridge-client]
version = "2"
optional = true

[dependencies.arora-types]
version = "1.4"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.crypto_secretbox]
version = "0.1.1"
optional = true

[dependencies.dirs]
version = "6"
optional = true

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

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.rustls]
version = "0.23.27"
features = ["ring"]
optional = true
default-features = false

[dependencies.sysinfo]
version = "0.33"
features = ["system"]
optional = true
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]
optional = true

[dependencies.uuid]
version = "1"
features = [
    "serde",
    "v4",
]

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = [
    "time",
    "test-util",
]
