| Crates.io | armature-cloudrun |
| lib.rs | armature-cloudrun |
| version | 0.1.1 |
| created_at | 2025-12-26 20:44:42.387706+00 |
| updated_at | 2025-12-29 00:36:23.41312+00 |
| description | Google Cloud Run deployment utilities for Armature applications |
| homepage | https://pegasusheavy.github.io/armature |
| repository | https://github.com/pegasusheavy/armature |
| max_upload_size | |
| id | 2006227 |
| size | 90,084 |
Google Cloud Run deployment utilities for the Armature framework.
[dependencies]
armature-cloudrun = "0.1"
use armature_cloudrun::CloudRunApp;
use armature_core::Application;
#[tokio::main]
async fn main() {
let app = Application::new()
.get("/", |_| async { Ok(HttpResponse::ok()) });
CloudRunApp::new(app)
.with_health_check("/health")
.run()
.await;
}
FROM rust:1.75 as builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM debian:bookworm-slim
COPY --from=builder /app/target/release/my-app /app/my-app
CMD ["/app/my-app"]
MIT OR Apache-2.0