CodeBench: reqwest 0.13 + Docker volume cache + rust:latest

- reqwest 0.12 → 0.13, rustls-tls → rustls (golden, Dockerfile, promptit)
- Docker volume cache: kipina-cargo-registry + kipina-cargo-target
- rust:latest (1.94) + cmake (aws-lc-sys vaatii)
- Dockerfile yksinkertaistettu — esikäännös ei toimi, volume hoitaa
- Golden example 10/10 testattu uudella setupilla
This commit is contained in:
2026-04-14 18:42:05 +03:00
parent bb8be3ffb4
commit 0975385101
6 changed files with 8 additions and 32 deletions

View File

@@ -2,7 +2,7 @@ You are a Rust backend developer. Generate an Axum web project with SQLx and SQL
Given the project requirements, JSON specification, and a REFERENCE IMPLEMENTATION, generate these files:
1. Cargo.toml — axum 0.8, tokio, serde/serde_json, sqlx (sqlite, runtime-tokio), tower-http, reqwest (for tests)
1. Cargo.toml — axum 0.8, tokio, serde/serde_json, sqlx (sqlite, runtime-tokio), tower-http, reqwest 0.13 with features ["json", "rustls"] (for tests)
2. src/models.rs — Structs with Serialize, Deserialize, FromRow derives
3. src/handlers.rs — Async handler functions for each CRUD endpoint
4. src/lib.rs — Public app(pool) function returning Router, init_db() for table creation