diff options
| author | Árni Dagur <arni@dagur.eu> | 2020-09-22 05:25:31 +0000 |
|---|---|---|
| committer | Árni Dagur <arni@dagur.eu> | 2020-09-22 05:25:31 +0000 |
| commit | d3953185e8196a2dc6bfb55c979f195fe6969519 (patch) | |
| tree | ca5876a260f42041fec8aef2bbdbd275db82e21c | |
| parent | 743d08b7311cf973f3930d650f773916fa81eca4 (diff) | |
Update to PyO3 0.12
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -11,7 +11,7 @@ debug = true | |||
| 11 | 11 | ||
| 12 | [dependencies] | 12 | [dependencies] |
| 13 | adblock = { version = "0.3.2", default-features = false, features = ["full-regex-handling", "embedded-domain-resolver"] } | 13 | adblock = { version = "0.3.2", default-features = false, features = ["full-regex-handling", "embedded-domain-resolver"] } |
| 14 | pyo3 = "0.11" | 14 | pyo3 = "0.12" |
| 15 | 15 | ||
| 16 | [lib] | 16 | [lib] |
| 17 | name = "adblock" | 17 | name = "adblock" |
| @@ -17,7 +17,7 @@ use adblock::engine::Engine as RustEngine; | |||
| 17 | use adblock::lists::FilterFormat; | 17 | use adblock::lists::FilterFormat; |
| 18 | use adblock::lists::FilterSet as RustFilterSet; | 18 | use adblock::lists::FilterSet as RustFilterSet; |
| 19 | use pyo3::class::PyObjectProtocol; | 19 | use pyo3::class::PyObjectProtocol; |
| 20 | use pyo3::exceptions::ValueError as PyValueError; | 20 | use pyo3::exceptions::PyValueError; |
| 21 | use pyo3::prelude::*; | 21 | use pyo3::prelude::*; |
| 22 | use pyo3::types::PyBytes; | 22 | use pyo3::types::PyBytes; |
| 23 | use pyo3::PyErr; | 23 | use pyo3::PyErr; |
