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

deps: Audit 06/25 #27

Merged
merged 2 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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