From d3953185e8196a2dc6bfb55c979f195fe6969519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rni=20Dagur?= Date: Tue, 22 Sep 2020 05:25:31 +0000 Subject: Update to PyO3 0.12 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 38ae843..0a76e0a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ debug = true [dependencies] adblock = { version = "0.3.2", default-features = false, features = ["full-regex-handling", "embedded-domain-resolver"] } -pyo3 = "0.11" +pyo3 = "0.12" [lib] name = "adblock" diff --git a/src/lib.rs b/src/lib.rs index 7839a42..fc837b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ use adblock::engine::Engine as RustEngine; use adblock::lists::FilterFormat; use adblock::lists::FilterSet as RustFilterSet; use pyo3::class::PyObjectProtocol; -use pyo3::exceptions::ValueError as PyValueError; +use pyo3::exceptions::PyValueError; use pyo3::prelude::*; use pyo3::types::PyBytes; use pyo3::PyErr; -- cgit v1.2.3