diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dec2d5..1464a41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.0.2 + +#### ⚙️ Internal + +- Updated dependencies. + ## 0.0.1 #### 🎉 Release diff --git a/Cargo.lock b/Cargo.lock index f2e5f78..daafae4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,28 +258,24 @@ checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" [[package]] name = "cached" -version = "0.44.0" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b195e4fbc4b6862bbd065b991a34750399c119797efff72492f28a5864de8700" +checksum = "90eb5776f28a149524d1d8623035760b4454ec881e8cf3838fa8d7e1b11254b3" dependencies = [ - "async-trait", "cached_proc_macro", "cached_proc_macro_types", - "futures", "hashbrown 0.13.2", "instant", "once_cell", "thiserror", - "tokio", ] [[package]] name = "cached_proc_macro" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b48814962d2fd604c50d2b9433c2a41a0ab567779ee2c02f7fba6eca1221f082" +checksum = "7da8245dd5f576a41c3b76247b54c15b0e43139ceeb4f732033e15be7c005176" dependencies = [ - "cached_proc_macro_types", "darling 0.14.4", "proc-macro2", "quote", @@ -467,6 +463,16 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "core-foundation" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "core-foundation-sys" version = "0.8.4" @@ -1082,20 +1088,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "futures" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - [[package]] name = "futures-channel" version = "0.3.28" @@ -1103,7 +1095,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" dependencies = [ "futures-core", - "futures-sink", ] [[package]] @@ -1112,12 +1103,6 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - [[package]] name = "futures-macro" version = "0.3.28" @@ -1149,7 +1134,6 @@ checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" dependencies = [ "futures-core", "futures-macro", - "futures-sink", "futures-task", "pin-project-lite", "pin-utils", @@ -1908,6 +1892,12 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + [[package]] name = "option-ext" version = "0.2.0" @@ -2055,9 +2045,9 @@ dependencies = [ [[package]] name = "proto_core" -version = "0.17.2" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9d66bf857561212ef611c073ce1f83f09a3bc70ee8b5edbdf1dff433f8e71d" +checksum = "dc1344505e5609bda7acbff3fae9260c42e20687d90d636429a679cf88fd4932" dependencies = [ "cached", "extism", @@ -2085,9 +2075,9 @@ dependencies = [ [[package]] name = "proto_pdk" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e7ee5ae588b5cda3bcbd90c87f2875292bba9ce846569f4ed427fc520ba96d" +checksum = "c6667a6d172cdd690d61a76d9fbd7f1963959a3076897931bc1e531baba41446" dependencies = [ "anyhow", "extism-pdk", @@ -2113,9 +2103,9 @@ dependencies = [ [[package]] name = "proto_pdk_test_utils" -version = "0.6.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b799a8c37613832e1129d7a52887406a1e2aabf1565484b1925d4ad3d3dac98" +checksum = "e99a8f00d179c3fc1110a97837c3082a25c4f73b3357e587eeb603a13b69dc32" dependencies = [ "extism", "proto_core", @@ -2158,7 +2148,7 @@ dependencies = [ [[package]] name = "python_plugin" -version = "0.0.1" +version = "0.0.2" dependencies = [ "extism-pdk", "once_cell", @@ -2338,6 +2328,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls", + "rustls-native-certs", "rustls-pemfile", "serde", "serde_json", @@ -2349,7 +2340,6 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "webpki-roots 0.25.2", "winreg", ] @@ -2443,6 +2433,18 @@ dependencies = [ "sct", ] +[[package]] +name = "rustls-native-certs" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" +dependencies = [ + "openssl-probe", + "rustls-pemfile", + "schannel", + "security-framework", +] + [[package]] name = "rustls-pemfile" version = "1.0.3" @@ -2487,6 +2489,15 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "schannel" +version = "0.1.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +dependencies = [ + "windows-sys 0.48.0", +] + [[package]] name = "scopeguard" version = "1.2.0" @@ -2503,6 +2514,29 @@ dependencies = [ "untrusted", ] +[[package]] +name = "security-framework" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "semver" version = "1.0.18" @@ -2544,9 +2578,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.105" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", @@ -3182,7 +3216,7 @@ dependencies = [ "rustls", "rustls-webpki 0.100.2", "url", - "webpki-roots 0.23.1", + "webpki-roots", ] [[package]] @@ -3241,9 +3275,9 @@ dependencies = [ [[package]] name = "warpgate" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e105ab7fd178b2fc6b59439046418278b478e761549658a41eb48c97a9944a" +checksum = "817057863344de5701a42c8fa6d02473acf29a7eb6f8df1ef05c333e966e802d" dependencies = [ "extism", "miette", @@ -3812,12 +3846,6 @@ dependencies = [ "rustls-webpki 0.100.2", ] -[[package]] -name = "webpki-roots" -version = "0.25.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14247bb57be4f377dfb94c72830b8ce8fc6beac03cf4bf7b9732eadd414123fc" - [[package]] name = "wiggle" version = "11.0.1" diff --git a/Cargo.toml b/Cargo.toml index 2801e55..171bfbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "python_plugin" -version = "0.0.1" +version = "0.0.2" edition = "2021" license = "MIT" publish = false @@ -11,15 +11,18 @@ crate-type = ['cdylib'] [dependencies] extism-pdk = "0.3.4" once_cell = "1.18.0" -proto_pdk = { version = "0.7.1" } # , path = "../../proto/crates/pdk" } +proto_pdk = { version = "0.7.2" } # , path = "../../proto/crates/pdk" } regex = "1.9.5" serde = "1.0.188" [dev-dependencies] -proto_pdk_test_utils = { version = "0.6.2" } # , path = "../../proto/crates/pdk-test-utils" } +proto_pdk_test_utils = { version = "0.7.0" } # , path = "../../proto/crates/pdk-test-utils" } starbase_sandbox = "0.1.10" tokio = "1.32.0" [profile.release] codegen-units = 1 +debug = false lto = true +opt-level = "s" +panic = "abort" diff --git a/src/proto.rs b/src/proto.rs index 6acd17c..29a228b 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -135,7 +135,7 @@ pub fn load_versions(Json(_): Json) -> FnResult>();