Skip to content

Commit f687e63

Browse files
committed
Update spin
Signed-off-by: Ryan Levick <[email protected]>
1 parent 3a27124 commit f687e63

File tree

6 files changed

+68
-51
lines changed

6 files changed

+68
-51
lines changed

Cargo.lock

Lines changed: 52 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ hyper = "1.0"
1313
libtest-mimic = "0.8"
1414
log = "0.4"
1515
owo-colors = { version = "4", features = ["supports-colors"] }
16-
spin-common = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
17-
spin-componentize = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
18-
spin-http = { git = "https://github.com/spinframework/spin", default-features = false, rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
16+
spin-common = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
17+
spin-componentize = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
18+
spin-http = { git = "https://github.com/spinframework/spin", default-features = false, rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
1919
spin-manifest = { workspace = true }
2020
temp-dir = "0.1.16"
2121
tokio = "1.0"
@@ -36,10 +36,10 @@ members = [
3636

3737
[workspace.dependencies]
3838
anyhow = "1.0"
39-
spin-expressions = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
40-
spin-manifest = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
41-
spin-factor-outbound-networking = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
42-
spin-serde = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
39+
spin-expressions = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
40+
spin-manifest = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
41+
spin-factor-outbound-networking = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
42+
spin-serde = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
4343
toml = { version = "0.8", features = ["preserve_order"] }
4444
wit-bindgen-rt = { version = "0.42", features = ["bitflags"] }
4545
wit-component = "0.235"

conformance-tests/src/runtime.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ struct IncomingBody<'a> {
349349
resource: wasmtime::component::ResourceAny,
350350
}
351351

352-
impl<'a> IncomingBody<'a> {
352+
impl IncomingBody<'_> {
353353
fn stream<T>(
354354
&self,
355355
store: &mut wasmtime::Store<T>,
@@ -369,7 +369,7 @@ struct InputStream<'a> {
369369
resource: wasmtime::component::ResourceAny,
370370
}
371371

372-
impl<'a> InputStream<'a> {
372+
impl InputStream<'_> {
373373
fn blocking_read<T>(
374374
&self,
375375
store: &mut wasmtime::Store<T>,
@@ -388,7 +388,7 @@ struct OutgoingBody<'a> {
388388
resource: wasmtime::component::ResourceAny,
389389
}
390390

391-
impl<'a> OutgoingBody<'a> {
391+
impl OutgoingBody<'_> {
392392
fn write<T>(&self, store: &mut wasmtime::Store<T>) -> anyhow::Result<Result<OutputStream, ()>> {
393393
let stream = match self.guest.call_write(store, self.resource)? {
394394
Ok(s) => s,
@@ -406,7 +406,7 @@ struct OutputStream<'a> {
406406
resource: wasmtime::component::ResourceAny,
407407
}
408408

409-
impl<'a> OutputStream<'a> {
409+
impl OutputStream<'_> {
410410
fn blocking_write_and_flush<T>(
411411
&self,
412412
store: &mut wasmtime::Store<T>,

crates/router/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
anyhow = { workspace = true }
8-
spin-routes = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
8+
spin-http-routes = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
99
spin-manifest = { workspace = true }
1010
toml = { workspace = true }
1111
wit-bindgen-rt = { workspace = true }

crates/router/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use bindings::{
1111
ErrorCode, Headers, IncomingRequest, OutgoingRequest, ResponseOutparam, Scheme,
1212
},
1313
};
14-
use spin_routes::{RouteMatch, Router};
14+
use spin_http_routes::{RouteMatch, Router};
1515

1616
/// Print to the standard output.
1717
///
@@ -112,7 +112,7 @@ fn router(manifest: &spin_manifest::schema::v2::AppManifest, base: &str) -> anyh
112112
})
113113
.collect::<Vec<_>>();
114114

115-
spin_routes::Router::build(base, routes.iter().map(|(c, t)| (c.as_str(), t)), None)
115+
Router::build(base, routes.iter().map(|(c, t)| (c.as_str(), t)), None)
116116
}
117117

118118
/// Apply any request transformations needed for the given route.

crates/spin-test-virt/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ipnet = "2.11"
1111
spin-expressions = { workspace = true }
1212
spin-manifest = { workspace = true }
1313
spin-serde = { workspace = true }
14-
spin-locked-app = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
15-
spin-outbound-networking-config = { git = "https://github.com/spinframework/spin", rev = "9906b4e499e47bcc6ebff4e7fe70bb255a5f925d" }
14+
spin-locked-app = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
15+
spin-outbound-networking-config = { git = "https://github.com/spinframework/spin", rev = "4447abb7d7571fc887217045aff0ba349a8de955" }
1616
toml = { workspace = true }
1717
wit-bindgen-rt = { workspace = true }
1818
rusqlite = { version = "0.36", features = ["bundled", "wasm32-wasi-vfs"] }

0 commit comments

Comments
 (0)