Skip to content

Commit 9a5c4a3

Browse files
committed
Bump versions and clippy fixes
Signed-off-by: Brian Hardock <[email protected]>
1 parent ab9fbba commit 9a5c4a3

File tree

11 files changed

+294
-305
lines changed

11 files changed

+294
-305
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,30 @@ name = "trigger-cron"
33
version = { workspace = true }
44
authors = { workspace = true }
55
edition = { workspace = true }
6-
rust-version = "1.73"
6+
rust-version = { workspace = true }
77

88
[workspace.package]
9-
version = "0.2.0"
10-
authors = ["Fermyon Engineering <[email protected]>"]
9+
version = "0.3.0"
10+
authors = ["The Spin authors"]
1111
edition = "2021"
12-
rust-version = "1.82"
12+
rust-version = "1.90"
1313

1414
[workspace]
1515
members = ["sdk", "sdk/macro"]
1616

17-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
18-
1917
[dependencies]
2018
anyhow = "1.0.75"
2119
async-trait = "0.1"
2220
clap = { version = "3.1.15", features = ["derive", "env"] }
2321
serde = "1.0"
24-
spin-factors = { git = "https://github.com/spinframework/spin", tag = "v3.4.1" }
25-
spin-runtime-factors = { git = "https://github.com/spinframework/spin", tag = "v3.4.1" }
26-
spin-trigger = { git = "https://github.com/spinframework/spin", tag = "v3.4.1" }
22+
spin-factors = { git = "https://github.com/spinframework/spin", tag = "v3.5.0" }
23+
spin-runtime-factors = { git = "https://github.com/spinframework/spin", tag = "v3.5.0" }
24+
spin-trigger = { git = "https://github.com/spinframework/spin", tag = "v3.5.0" }
2725
tokio = { version = "1.37", features = ["full"] }
2826
tokio-cron-scheduler = "0.13"
2927
tracing = { version = "0.1", features = ["log"] }
3028
tracing-subscriber = { version = "0.3.7", features = ["env-filter"] }
31-
wasmtime = { version = "36.0.2" }
29+
wasmtime = { version = "37.0.1" }
3230

3331
[target.'cfg(target_os = "linux")'.dependencies]
3432
# This needs to be an explicit dependency to enable

guest-python/spin.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ spin_manifest_version = 2
22

33
[application]
44
name = "cron-sampl-py"
5-
authors = ["Fermyon Engineering <[email protected]>"]
6-
description = ""
5+
authors = ["The Spin authors"]
76
version = "0.1.0"
87

98
[[trigger.cron]]

guest-rust/Cargo.lock

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

guest-rust/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[package]
22
name = "guest"
33
version = "0.1.0"
4-
authors = ["Karthik Ganeshram <[email protected]>"]
4+
authors = ["The Spin authors"]
55
edition = "2021"
6-
rust-version = "1.71"
6+
rust-version = "1.90"
77

88
[lib]
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
spin-sdk = "5.0.0"
12+
spin-sdk = "5.1.0"
1313
spin-cron-sdk = { path = "../sdk" }
1414

1515
[workspace]

guest-rust/spin.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ spin_manifest_version = 2
22

33
[application]
44
name = "cron-sample"
5-
authors = ["itowlson <[email protected]>"]
5+
authors = ["The Spin authors"]
66
description = ""
77
version = "0.1.0"
88

@@ -11,9 +11,9 @@ component = "every2seconds"
1111
cron_expression = "1/2 * * * * *"
1212

1313
[component.every2seconds]
14-
source = "target/wasm32-wasip2/release/guest.wasm"
14+
source = "target/wasm32-wasip1/release/guest.wasm"
1515
[component.every2seconds.build]
16-
command = "cargo build --target wasm32-wasip2 --release"
16+
command = "cargo build --target wasm32-wasip1 --release"
1717
[component.every2seconds.variables]
1818
something = "2s"
1919

@@ -22,8 +22,8 @@ component = "every4seconds"
2222
cron_expression = "1/4 * * * * *"
2323

2424
[component.every4seconds]
25-
source = "target/wasm32-wasip2/release/guest.wasm"
25+
source = "target/wasm32-wasip1/release/guest.wasm"
2626
[component.every4seconds.build]
27-
command = "cargo build --target wasm32-wasip2 --release"
27+
command = "cargo build --target wasm32-wasip1 --release"
2828
[component.every4seconds.variables]
2929
something = "4s"

sdk/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name = "spin-cron-sdk"
33
version = { workspace = true }
44
authors = { workspace = true }
55
edition = { workspace = true }
6-
rust-version = "1.71"
6+
rust-version = { workspace = true }
77
include = ["../cron.wit"]
88

99
[lib]
1010
name = "spin_cron_sdk"
1111

1212
[dependencies]
13-
spin-executor = "5.0.0"
13+
spin-executor = "5.1.0"
1414
spin-cron-macro = { path = "macro" }
1515
wit-bindgen = { workspace = true }

sdk/macro/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[package]
22
name = "spin-cron-macro"
3-
version = "0.1.0"
4-
edition = "2021"
5-
rust-version = "1.71"
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
edition = { workspace = true }
6+
rust-version = { workspace = true }
67
include = ["../../cron.wit"]
78

89
[lib]

spin-pluginify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "trigger-cron"
2-
version = "0.2.0"
2+
version = "0.3.0"
33
spin_compatibility = ">=3.0"
44
license = "Apache-2.0"
55
package = "./target/release/trigger-cron"

src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ struct Component {
3434
pub cron_expression: String,
3535
}
3636

37-
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
38-
#[serde(deny_unknown_fields)]
39-
struct TriggerMetadata {
40-
r#type: String,
41-
}
42-
4337
impl<F: RuntimeFactors> Trigger<F> for CronTrigger {
4438
const TYPE: &'static str = "cron";
4539

0 commit comments

Comments
 (0)