Skip to content

Commit 68cc8ca

Browse files
authored
feat: use axum 0.7/0.8 feature flags (#200)
1 parent 76a329c commit 68cc8ca

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

axum/hello-world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
axum = "0.7.4"
7+
axum = "0.8.1"
88
shuttle-axum = "0.50.0"
99
shuttle-runtime = "0.50.0"
1010
tokio = "1.28.2"

axum/htmx-crud/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ askama_axum = "0.4.0"
99
axum = "0.7.4"
1010
serde = { version = "1.0.189", features = ["derive"] }
1111
serde_json = "1.0.107"
12-
shuttle-axum = "0.50.0"
12+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1313
shuttle-runtime = "0.50.0"
1414
shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] }
1515
sqlx = "0.8.2"

axum/jwt-authentication/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jsonwebtoken = "8.3.0"
1010
once_cell = "1.18.0"
1111
serde = { version = "1.0.188", features = ["derive"] }
1212
serde_json = "1.0.107"
13-
shuttle-axum = "0.50.0"
13+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1414
shuttle-runtime = "0.50.0"
1515
tokio = "1.28.2"
1616
tracing-subscriber = "0.3.17"

axum/metadata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ edition = "2021"
55

66
[dependencies]
77
axum = "0.7.3"
8-
shuttle-axum = "0.50.0"
8+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
99
shuttle-runtime = "0.50.0"
1010
tokio = "1.28.2"

axum/oauth2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ chrono = { version = "0.4.35", features = ["clock"] }
1111
oauth2 = "4.4.1"
1212
reqwest = { version = "0.11.18", features = ["json"] }
1313
serde = { version = "1.0.183", features = ["derive"] }
14-
shuttle-axum = "0.50.0"
14+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1515
shuttle-runtime = "0.50.0"
1616
shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] }
1717
sqlx = { version = "0.8.2", features = ["macros", "chrono"] }

axum/openai/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ sqlx = { version = "0.8.2", features = [
2121
tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread"] }
2222
tower-http = { version = "0.6.2", features = ["cors", "fs"] }
2323
shuttle-runtime = "0.50.0"
24-
shuttle-axum = "0.50.0"
24+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
2525
shuttle-shared-db = { version = "0.50.0", features = ["postgres"] }
2626
shuttle-openai = "0.50.0"

axum/postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
[dependencies]
77
axum = "0.7.3"
88
serde = { version = "1.0.188", features = ["derive"] }
9-
shuttle-axum = "0.50.0"
9+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1010
shuttle-runtime = "0.50.0"
1111
shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] }
1212
sqlx = "0.8.2"

axum/qdrant/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
[dependencies]
77
axum = "0.7.3"
88
qdrant-client = "1.10.1"
9-
shuttle-axum = "0.50.0"
9+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1010
shuttle-qdrant = "0.50.0"
1111
shuttle-runtime = "0.50.0"
1212
tokio = "1.26.0"

axum/static-files/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish = false
66

77
[dependencies]
88
axum = "0.7.3"
9-
shuttle-axum = "0.50.0"
9+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1010
shuttle-runtime = "0.50.0"
1111
tokio = "1.28.2"
1212
tower-http = { version = "0.5.0", features = ["fs"] }

axum/turso/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
axum = "0.7.3"
8-
shuttle-axum = "0.50.0"
8+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
99
shuttle-runtime = "0.50.0"
1010
shuttle-turso = "0.50.0"
1111
libsql = "0.6.0"

axum/websocket/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ futures = "0.3.28"
1010
reqwest = "0.11.23"
1111
serde = { version = "1.0.163", features = ["derive"] }
1212
serde_json = "1.0.96"
13-
shuttle-axum = "0.50.0"
13+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1414
shuttle-runtime = "0.50.0"
1515
tokio = "1.28.2"
1616
tower-http = { version = "0.5.0", features = ["fs"] }

bevy/hello-world/server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
axum = "0.7.4"
8-
shuttle-axum = "0.50.0"
8+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
99
shuttle-runtime = "0.50.0"
1010
tokio = "1.28.2"
1111
tower-http = { version = "0.5.0", features = ["fs"] }

custom-resource/pdo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ async-trait = "0.1.56"
88
axum = "0.7.3"
99
serde = { version = "1", features = ["derive"] }
1010
shuttle-service = "0.50.0"
11-
shuttle-axum = "0.50.0"
11+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1212
shuttle-runtime = "0.50.0"
1313
tokio = "1.28.2"

fullstack-templates/saas/backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ lettre = "0.11.4"
1616
rand = "0.8.5"
1717
reqwest = "0.11.16"
1818
serde = { version = "1.0.160", features = ["derive"] }
19-
shuttle-axum = "0.50.0"
19+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
2020
shuttle-runtime = "0.50.0"
2121
shuttle-shared-db = { version = "0.50.0", features = ["postgres", "sqlx"] }
2222
sqlx = { version = "0.8.2", features = ["time"] }

loco/hello-world/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ edition = "2021"
1212
async-trait = "0.1.74"
1313
axum = "0.7.1"
1414
loco-rs = { version = "0.9.0", default-features = false, features = ["cli"] }
15-
shuttle-axum = "0.50.0"
15+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1616
shuttle-runtime = { version = "0.50.0", default-features = false }
1717
serde = "*"
1818
serde_json = "*"

other/feature-flags/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ publish = false
66

77
[dependencies]
88
axum = "0.7.3"
9-
shuttle-axum = "0.50.0"
9+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1010
shuttle-runtime = "0.50.0"
1111

1212
[features]

other/standalone-binary/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ path = "src/bin/standalone.rs"
1515
[dependencies]
1616
axum = "0.7.3"
1717
dotenvy = "0.15.7"
18-
shuttle-axum = "0.50.0"
18+
shuttle-axum = { version = "0.50.0", default-features = false, features = ["axum-0-7"] }
1919
shuttle-runtime = "0.50.0"
2020
tokio = "1.28.2"

0 commit comments

Comments
 (0)