# 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 = "phoxal"
version = "0.26.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Phoxal - production-oriented autonomous robot framework: the runtime engine and model (the api contract tree lives in phoxal-api, the typed bus in phoxal-bus)."
homepage = "https://github.com/phoxal/framework"
documentation = "https://github.com/phoxal/framework#readme"
readme = "README.md"
keywords = [
    "robotics",
    "robot",
    "autonomy",
    "zenoh",
    "simulation",
]
categories = [
    "science::robotics",
    "simulation",
]
license = "AGPL-3.0-only"
repository = "https://github.com/phoxal/framework"

[features]
default = []

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.arc-swap]
version = "1.9.1"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "env",
    "derive",
    "env",
]

[dependencies.derive-new]
version = "0.7.0"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.nalgebra]
version = "0.34.2"
features = ["serde-serialize"]

[dependencies.phoxal-api]
version = "0.19"

[dependencies.phoxal-bus]
version = "0.20"

[dependencies.phoxal-macros]
version = "0.19"

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.schemars]
version = "1.2.1"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "derive",
]

[dependencies.serde_bytes]
version = "0.11.19"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "signal",
    "sync",
    "fs",
    "process",
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "signal",
    "sync",
    "fs",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.urdf-rs]
version = "0.9.0"

[dependencies.zenoh]
version = "1.9.0"
features = [
    "auth_pubkey",
    "auth_usrpwd",
    "transport_multilink",
    "transport_quic",
    "transport_quic_datagram",
    "transport_tcp",
    "transport_tls",
    "transport_udp",
    "transport_unixsock-stream",
    "transport_ws",
]
default-features = false

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
    "signal",
    "sync",
    "fs",
    "process",
    "test-util",
]

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

[lints.rust]
unused = "warn"
