From 759ba0c935ffda9d649d7959679cff7adb72185c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:30:58 +0200 Subject: [PATCH 1/2] fix(sandbox): typo in PySandboxErrorKind::NotImplemented --- src/sandbox/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sandbox/mod.rs b/src/sandbox/mod.rs index 97804fd..ac9b48d 100644 --- a/src/sandbox/mod.rs +++ b/src/sandbox/mod.rs @@ -43,7 +43,7 @@ create_exception!(unblob_native.sandbox, PySandboxError, PyException); #[pyclass(eq, eq_int, name = "SandboxErrorKind")] #[derive(PartialEq)] enum PySandboxErrorKind { - NotImplementend, + NotImplemented, NotEnforced, Unknown, } @@ -52,7 +52,7 @@ impl From<&SandboxError> for PySandboxErrorKind { fn from(value: &SandboxError) -> Self { #[allow(unreachable_patterns)] // There are conditional pattern variants that may not exist match value { - SandboxError::NotImplemented => Self::NotImplementend, + SandboxError::NotImplemented => Self::NotImplemented, SandboxError::NotEnforced => Self::NotEnforced, _ => Self::Unknown, } From af3979f05ca9e20fc53f3e287c466ebc57610a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:31:51 +0200 Subject: [PATCH 2/2] chore: bumped version to 0.1.4 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bf98ad1..8efe65e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "unblob-native" -version = "0.1.3" +version = "0.1.4" dependencies = [ "approx", "criterion", diff --git a/Cargo.toml b/Cargo.toml index bcafa40..d213195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unblob-native" -version = "0.1.3" +version = "0.1.4" edition = "2021" license = "MIT"