# 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 = "somatize-worker"
version = "0.2.41"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Worker daemon for distributed execution in the Soma runtime"
readme = "README.md"
license = "Elastic-2.0"
repository = "https://github.com/manucouto1/soma"
resolver = "2"

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

[[bin]]
name = "soma-worker"
path = "src/bin/soma-worker.rs"

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

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

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

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

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hostname]
version = "0.4"

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.somatize-compiler]
version = "0.2.41"

[dependencies.somatize-core]
version = "0.2.41"

[dependencies.somatize-runtime]
version = "0.2.41"

[dependencies.sysinfo]
version = "0.33"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-webpki-roots"]

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

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

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