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 = "2021"
name = "zeusd"
version = "0.3.0"
authors = ["Jae-Won Chung <jwnchung@umich.edu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zeus daemon"
homepage = "https://ml.energy/zeus"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ml-energy/zeus"

[lib]
name = "zeusd"
path = "src/lib.rs"
doctest = false

[[bin]]
name = "zeusd"
path = "src/main.rs"

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

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

[dependencies.actix-web]
version = "4"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.futures]
version = "0.3"

[dependencies.nix]
version = "0.29"
features = ["user"]
default-features = false

[dependencies.nvml-wrapper]
version = "0.12"

[dependencies.once_cell]
version = "1.7"

[dependencies.paste]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-actix-web]
version = "0.7"

[dependencies.tracing-log]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "env-filter",
]

[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false

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