Cargo.toml
audience: ai
Manifest. Real dependencies for the runtime, all four
cloud SDKs (aws-sdk-ec2, google-cloud-*,
azure_mgmt_compute), the bare-metal SSH control
plane (russh), and the x25519 / ChaCha20-Poly1305
crypto used by the receipt layer. Aspirational
path-style dependencies for the coalition-layer
crates (mosaik, zipnet, coalition,
coalition-compute) — those do not exist yet per the
roadmap. Once the
upstream crates land, the path = "../coalition-stub/..."
lines become real version = "..." entries.
[package]
name = "compute-bridge"
version = "0.1.0-prototype"
edition = "2021"
license = "MIT"
description = "A TDX-attested provider for the Compute basic service that provisions workloads across AWS, GCP, Azure, and bare-metal backends, returning SSH access via zipnet-anonymised encrypted receipts."
publish = false
# Prototype. Not a shipped binary.
#
# Compiles against aspirational dependency paths for the
# coalition layer; see README.md for which deps exist
# today and which do not.
[dependencies]
# --- Runtime ---------------------------------------------------------------
tokio = { version = "1", features = ["full"] }
anyhow = "1"
async-trait = "0.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# --- Cloud backends --------------------------------------------------------
# AWS
aws-config = "1"
aws-sdk-ec2 = "1"
aws-sdk-sts = "1"
# GCP (Compute Engine via google-cloud-* crates)
google-cloud-auth = "0.17"
google-cloud-googleapis = "0.15"
# Azure (Resource Manager)
azure_identity = "0.21"
azure_mgmt_compute = "0.21"
azure_core = "0.21"
# --- Bare-metal (SSH control plane) ----------------------------------------
russh = "0.45"
russh-keys = "0.45"
# --- Crypto ----------------------------------------------------------------
# x25519 / ed25519 for the encrypted-receipt sealing.
ed25519-dalek = "2"
x25519-dalek = "2"
chacha20poly1305 = "0.10"
rand = "0.8"
# --- Coalition layer (aspirational) ----------------------------------------
# These crates do not exist yet; see book/src/contributors/roadmap.md.
# Once the coalition meta-crate lands at v0.2 and the Compute module crate
# lands at v0.6, these path=".../stub" entries will be replaced with the
# real crates.
mosaik = { path = "../coalition-stub/mosaik-stub", package = "mosaik-stub" }
zipnet = { path = "../coalition-stub/zipnet-stub", package = "zipnet-stub" }
coalition = { path = "../coalition-stub/coalition-stub", package = "coalition-stub" }
coalition-compute = { path = "../coalition-stub/compute-stub", package = "coalition-compute-stub" }
[[bin]]
name = "compute-bridge"
path = "src/main.rs"
[lints.rust]
unused_imports = "allow" # prototype; stubs leave imports unused
unused_variables = "allow"
dead_code = "allow"
Up: compute-bridge.