56 lines
1.3 KiB
TOML
56 lines
1.3 KiB
TOML
|
|
[package]
|
||
|
|
authors = ["Jesus Perez <jesus@librecloud.online>"]
|
||
|
|
description = "HTTP service for remote machine access and SSH operations"
|
||
|
|
edition = "2021"
|
||
|
|
license = "MIT"
|
||
|
|
name = "machines-service"
|
||
|
|
repository = "https://github.com/jesusperezlorenzo/provisioning"
|
||
|
|
version = "0.1.0"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
# Async runtime and utilities
|
||
|
|
async-trait = "0.1"
|
||
|
|
futures = "0.3"
|
||
|
|
tokio = { version = "1.49", features = ["full"] }
|
||
|
|
|
||
|
|
# Web server and API
|
||
|
|
axum = { version = "0.8", features = ["ws", "macros"] }
|
||
|
|
tower = { version = "0.5", features = ["full"] }
|
||
|
|
tower-http = { version = "0.6", features = ["cors", "trace"] }
|
||
|
|
|
||
|
|
# Serialization
|
||
|
|
serde = { version = "1.0", features = ["derive"] }
|
||
|
|
serde_json = "1.0"
|
||
|
|
|
||
|
|
# Error handling
|
||
|
|
anyhow = "1.0"
|
||
|
|
thiserror = "2.0"
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
tracing = "0.1"
|
||
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||
|
|
|
||
|
|
# CLI
|
||
|
|
clap = { version = "4.5", features = ["derive", "env"] }
|
||
|
|
|
||
|
|
# UUID and time
|
||
|
|
chrono = { version = "0.4", features = ["serde"] }
|
||
|
|
uuid = { version = "1.19", features = ["v4", "serde"] }
|
||
|
|
|
||
|
|
# Machines crate from prov-ecosystem
|
||
|
|
machines = { path = "../../../../submodules/prov-ecosystem/crates/machines" }
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
tempfile = "3"
|
||
|
|
tokio-test = "0.4"
|
||
|
|
|
||
|
|
# Library target
|
||
|
|
[lib]
|
||
|
|
name = "machines_service"
|
||
|
|
path = "src/lib.rs"
|
||
|
|
|
||
|
|
# Binary target
|
||
|
|
[[bin]]
|
||
|
|
name = "machines-service"
|
||
|
|
path = "src/main.rs"
|