summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorÁrni Dagur <arni@dagur.eu>2021-02-01 17:59:51 +0000
committerGitHub <noreply@github.com>2021-02-01 17:59:51 +0000
commitdc33223fcb1583bf31b89474ec299d45d8f80ef0 (patch)
treef3c0e12505f3191c20e959fe3e81da445a28c59f /Cargo.toml
parentd0dbf823b7ce627ee77067cd87188fa9995ad783 (diff)
Packaging improvements (#34)
* Use maturin for PEP 517 compliancy * Removing relative import in __init__.py * Bump version to 0.4.2
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml20
1 files changed, 16 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a1947ae..f565d0c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,10 +1,22 @@
1[package] 1[package]
2name = "adblock"
3publish = false 2publish = false
4version = "0.4.1" 3name = "adblock"
5authors = ["Árni Dagur <arni@dagur.eu"] 4version = "0.4.2"
6edition = "2018" 5edition = "2018"
6authors = ["Árni Dagur <arni@dagur.eu>"]
7license = "MIT OR Apache-2.0" 7license = "MIT OR Apache-2.0"
8readme = "README.md"
9homepage = "https://github.com/ArniDagur/python-adblock"
10repository = "https://github.com/ArniDagur/python-adblock"
11
12[package.metadata.maturin]
13classifier = [
14 "Programming Language :: Python",
15 "Programming Language :: Rust",
16 "License :: OSI Approved :: MIT License",
17 "License :: OSI Approved :: Apache Software License",
18]
19requires-python = ">=3.6"
8 20
9[profile.release] 21[profile.release]
10debug = true 22debug = true
@@ -18,4 +30,4 @@ name = "adblock"
18crate-type = ["rlib", "cdylib"] 30crate-type = ["rlib", "cdylib"]
19 31
20[features] 32[features]
21default = ["pyo3/extension-module"] 33default = ["pyo3/extension-module"] \ No newline at end of file