Skip to content

Commit 26d0d35

Browse files
committed
fix: Update to shuttle 0.40.0; fix libsql breakage
1 parent c9f3d05 commit 26d0d35

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ edition = "2021"
99
axum = { version = "0.7.4", features = ["http2"] }
1010
libsql = { git = "https://github.com/tursodatabase/libsql" }
1111
serde = { version = "1.0.196", features = ["derive"] }
12-
shuttle-axum = { version = "0.39.0" }
13-
shuttle-runtime = "0.39.0"
14-
shuttle-secrets = "0.39.0"
15-
shuttle-turso = "0.39.0"
12+
shuttle-axum = { version = "0.40.0" }
13+
shuttle-runtime = "0.40.0"
14+
shuttle-secrets = "0.40.0"
15+
shuttle-turso = "0.40.0"
1616
tower-http = { version = "0.5.1", features = ["fs", "cors"] }
1717
tokio = "1.36.0"
1818
futures = "0.3.30"

src/faery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl Repository for FaeryRepository {
7979
},
8080
};
8181
match result {
82-
Ok(_) => Ok(db.last_insert_rowid()),
82+
Ok(_) => Ok(db.last_insert_rowid().await),
8383
Err(_) => Err(RepositoryError::Other),
8484
}
8585
}

0 commit comments

Comments
 (0)