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

Commit

Permalink
Update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 4, 2023
1 parent fb143bd commit 58c4b26
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 11 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.2.0

#### 🚀 Updates

- Updated to support proto v0.22 release.

#### ⚙️ Internal

- Updated dependencies.

## 0.1.2

#### ⚙️ Internal
Expand Down
28 changes: 22 additions & 6 deletions Cargo.lock

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

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

[dependencies]
extism-pdk = "0.3.4"
proto_pdk = { version = "0.9.0", path = "../../proto/crates/pdk" }
proto_pdk = { version = "0.10.0" } # , path = "../../proto/crates/pdk" }
regex = { version = "1.10.2", default-features = false, features = ["std"] }
serde = "1.0.190"

[dev-dependencies]
proto_pdk_test_utils = { version = "0.9.1", path = "../../proto/crates/pdk-test-utils" }
proto_pdk_test_utils = { version = "0.10.0" } # , path = "../../proto/crates/pdk-test-utils" }
starbase_sandbox = "0.1.12"
tokio = { version = "1.33.0", features = ["full"] }

Expand Down
4 changes: 2 additions & 2 deletions src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub fn locate_executables(
Json(input): Json<LocateExecutablesInput>,
) -> FnResult<Json<LocateExecutablesOutput>> {
let env = get_proto_environment()?;
let mut exe_path = format_bin_name("install/bin/python3", env.os);
let mut exe_path = env.os.get_exe_name("install/bin/python3");
let mut globals_lookup_dirs = vec!["$HOME/.local/bin".to_owned()];

// Manifest is only available for pre-builts
Expand Down Expand Up @@ -193,7 +193,7 @@ pub fn uninstall_global(
#[plugin_fn]
pub fn locate_bins(Json(input): Json<LocateBinsInput>) -> FnResult<Json<LocateBinsOutput>> {
let env = get_proto_environment()?;
let mut bin_path = format_bin_name("install/bin/python3", env.os);
let mut bin_path = env.os.get_exe_name("install/bin/python3");
let mut globals_lookup_dirs = vec!["$HOME/.local/bin".to_owned()];

// Manifest is only available for pre-builts
Expand Down

0 comments on commit 58c4b26

Please sign in to comment.