Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
deps: Audit 06/25 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj authored Jun 25, 2024
1 parent bacba55 commit 0313263
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 58 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.10.2

#### 🚀 Updates

- Updated dependencies.

## 0.10.1

#### 🚀 Updates
Expand Down
97 changes: 50 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_plugin"
version = "0.10.1"
version = "0.10.2"
edition = "2021"
license = "MIT"
publish = false
Expand All @@ -10,13 +10,13 @@ crate-type = ['cdylib']

[dependencies]
extism-pdk = { version = "1.2.0" }
proto_pdk = { version = "0.20.0" } #, path = "../../proto/crates/pdk" }
proto_pdk = { version = "0.21.0" } #, path = "../../proto/crates/pdk" }
serde = "1.0.203"
toml = { version = "0.8.13", default-features = false, features = ["parse"] }
toml = { version = "0.8.14", default-features = false, features = ["parse"] }

[dev-dependencies]
proto_pdk_test_utils = { version = "0.24.0" } #, path = "../../proto/crates/pdk-test-utils" }
starbase_sandbox = "0.6.1"
proto_pdk_test_utils = { version = "0.25.0" } #, path = "../../proto/crates/pdk-test-utils" }
starbase_sandbox = "0.6.2"
tokio = { version = "1.38.0", features = ["full"] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
profile = "default"
channel = "1.78.0"
channel = "1.79.0"
8 changes: 3 additions & 5 deletions src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,17 +260,15 @@ pub fn sync_manifest(Json(_): Json<SyncManifestInput>) -> FnResult<Json<SyncMani
continue;
}

let Ok(spec) = UnresolvedVersionSpec::parse(name.replace(&format!("-{triple}"), "")) else {
let Ok(spec) = VersionSpec::parse(name.replace(&format!("-{triple}"), "")) else {
continue;
};

if is_non_version_channel(&spec) {
if is_non_version_channel(&spec.to_unresolved_spec()) {
continue;
}

if let UnresolvedVersionSpec::Version(version) = spec {
versions.push(version);
}
versions.push(spec);
}

if !versions.is_empty() {
Expand Down

0 comments on commit 0313263

Please sign in to comment.