From bf23b21e41c169c25d088a97d06d43b5595e02b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rni=20Dagur?= Date: Tue, 13 Apr 2021 00:01:44 +0000 Subject: Improve GitHub actions workflow (#41) * MacOS wheels should now support both x86_64 and ARM64. * We now build ARM wheels for Linux. * `abi3` is used to support multiple Python versions in a single wheel. --- Cargo.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 1a0fa77..caa62b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,11 +23,8 @@ debug = true [dependencies] adblock = { version = "=0.3.10", default-features = false, features = ["full-regex-handling", "embedded-domain-resolver"] } -pyo3 = "0.13" +pyo3 = { version = "0.13", features = ["abi3-py36", "extension-module"] } [lib] name = "adblock" -crate-type = ["rlib", "cdylib"] - -[features] -default = ["pyo3/extension-module"] +crate-type = ["rlib", "cdylib"] \ No newline at end of file -- cgit v1.2.3