chore(deps): bump pctx_code_mode from 0.4.1 to 0.5.0 (#11245)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Douwe Osinga <douwe@block.xyz> Co-authored-by: Douwe Osinga <douwe.osinga@gmail.com>
This commit is contained in:
Generated
+10
-10
@@ -7926,9 +7926,9 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
|
||||
|
||||
[[package]]
|
||||
name = "pctx_code_execution_runtime"
|
||||
version = "0.2.0"
|
||||
version = "0.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a8b66a19b684e077ab0bc39b10922cf76e1685ff6a65198fe0bc4004c4be314f"
|
||||
checksum = "8e01051b22c295cb8f086eea10bcec6eec80ce730fed65124c9bdb589cf2aead"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"deno_core",
|
||||
@@ -7946,9 +7946,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pctx_code_mode"
|
||||
version = "0.4.1"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f55b3476b133078b55bc808aad1ff880428bf3de3127415ec33ceab50ef230d9"
|
||||
checksum = "e8fdd1f9347e088aed901765f30a71e0497f00a870700699d49958446505ac43"
|
||||
dependencies = [
|
||||
"futures",
|
||||
"pctx_codegen",
|
||||
@@ -7966,9 +7966,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pctx_codegen"
|
||||
version = "0.3.1"
|
||||
version = "0.3.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a56b53c02b41420f6bd3baa7046a5a7509a38114fffa52f737f44c9044eac646"
|
||||
checksum = "9f3311888d45e8f353bc2be9dfd5e1c9a0fb3ed8852b9a4c42b2d1bcbf1d9c63"
|
||||
dependencies = [
|
||||
"biome_formatter",
|
||||
"biome_js_formatter",
|
||||
@@ -8024,9 +8024,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pctx_executor"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "459b68c42775a94e0e160537e644f9a8d4ab7041fa724976b08382eb386836e1"
|
||||
checksum = "0e0d802923b9f2426c95664036639ca2a979816ad1f58d086f970f68dadb5643"
|
||||
dependencies = [
|
||||
"deno_core",
|
||||
"deno_resolver",
|
||||
@@ -8048,9 +8048,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pctx_registry"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "251c06ac888c315c7e23d210e4e9ffa88d5dc08225c0d8de96f1263837d72896"
|
||||
checksum = "12170e60727861d257a5bd70646ab81a97c4d917046fc38ff90a58543d6b688c"
|
||||
dependencies = [
|
||||
"deno_error",
|
||||
"pctx_config",
|
||||
|
||||
@@ -222,7 +222,7 @@ aws-lc-rs = { version = "1.17", default-features = false, optional = true }
|
||||
openssl = { version = "0.10.66", default-features = false, optional = true }
|
||||
pem = { version = "4.0.0", default-features = false, features = ["std"], optional = true }
|
||||
|
||||
pctx_code_mode = { version = "0.4.1", default-features = false, optional = true }
|
||||
pctx_code_mode = { version = "0.5.0", default-features = false, optional = true }
|
||||
|
||||
# These are needed because temporal_rs 0.1 (a transitive dep via PCTX) enables unstable features on icu_calendar without pinning the dependency version
|
||||
# A fix is available in temporal_rs 0.2 but PCTX has not updated
|
||||
|
||||
@@ -657,9 +657,18 @@ impl CodeModeState {
|
||||
fn new(cfgs: Vec<CallbackConfig>) -> Result<Self, String> {
|
||||
let hash = Self::hash(&cfgs);
|
||||
|
||||
let code_mode = CodeMode::default()
|
||||
.with_callbacks(&cfgs)
|
||||
.map_err(|e| format!("failed adding callback configs to CodeMode: {e}"))?;
|
||||
let (code_mode, report) = CodeMode::default().with_callbacks(&cfgs);
|
||||
if !report.failed.is_empty() {
|
||||
let failures = report
|
||||
.failed
|
||||
.iter()
|
||||
.map(|failure| format!("{}: {}", failure.id, failure.reason))
|
||||
.collect::<Vec<_>>()
|
||||
.join(", ");
|
||||
return Err(format!(
|
||||
"failed adding callback configs to CodeMode: {failures}"
|
||||
));
|
||||
}
|
||||
|
||||
Ok(Self { code_mode, hash })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user