Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump shuttle to 0.51.0 #1169

Merged
merged 4 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion loco-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct GenerateResults {
rrgen: Vec<rrgen::GenResult>,
local_templates: Vec<PathBuf>,
}
const DEPLOYMENT_SHUTTLE_RUNTIME_VERSION: &str = "0.46.0";
const DEPLOYMENT_SHUTTLE_RUNTIME_VERSION: &str = "0.51.0";

const DEPLOYMENT_OPTIONS: &[(&str, DeploymentKind)] = &[
("Docker", DeploymentKind::Docker),
Expand Down
10 changes: 9 additions & 1 deletion loco-gen/src/templates/deployment/shuttle/config.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@ to: "Shuttle.toml"
skip_exists: true
message: "Shuttle.toml file created successfully"
---
name = "{{pkg_name}}"
[deploy]
include = [
"config/production.yaml"
]

[build]
assets = [
"config/production.yaml"
]
2 changes: 1 addition & 1 deletion loco-gen/src/templates/deployment/shuttle/shuttle.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ injections:
- into: Cargo.toml
after: \[dependencies\]
content: |
shuttle-axum = "{{shuttle_runtime_version}}"
shuttle-axum = { version = "{{shuttle_runtime_version}}", default-features = false, features = ["axum-0-7"] }
jonaro00 marked this conversation as resolved.
Show resolved Hide resolved
shuttle-runtime = { version = "{{shuttle_runtime_version}}", default-features = false }
{% if with_db -%}
shuttle-shared-db = { version = "{{shuttle_runtime_version}}", features = ["postgres"] }
Expand Down
Loading