Skip to content

fix: Dockerfile Rust 1.88 and pricing route axum 0.8 compat#178

Open
jcabrero wants to merge 1 commit intofeat/rust-migrationfrom
worktree-agent-ae55065c
Open

fix: Dockerfile Rust 1.88 and pricing route axum 0.8 compat#178
jcabrero wants to merge 1 commit intofeat/rust-migrationfrom
worktree-agent-ae55065c

Conversation

@jcabrero
Copy link
Member

Summary

  • Bump Rust base image in docker/nilai-api.Dockerfile from 1.80 to 1.88 (required by edition2024, darling 0.23, serde_with 3.18, time 0.3.47)
  • Update pricing wildcard route from *model_name to {*model_name} for axum 0.8 compatibility
  • Strip leading / from captured wildcard path in all 3 pricing handlers (get_price, set_price, delete_price)

Test plan

  • cargo check --workspace passes
  • cargo test --workspace passes (3/3 tests, all 11 suites)
  • E2e tests (requires Docker services, to be validated in full integration)

🤖 Generated with Claude Code

… axum 0.8

Bump Rust base image from 1.80 to 1.88 (required by edition2024, darling 0.23,
serde_with 3.18, time 0.3.47). Update pricing wildcard route syntax from
`*model_name` to `{*model_name}` for axum 0.8 compatibility, and strip the
leading slash from captured path segments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant