Core version for Python

This commit is contained in:
Wilson Lin 2021-04-06 18:41:56 +10:00
commit 9bd07530c1
5 changed files with 28 additions and 3 deletions

1
python/.gitignore vendored
View file

@ -1,4 +1,5 @@
/Cargo.lock
/Cargo.toml
/target/
__pycache__/

21
python/Cargo.core.toml Normal file
View file

@ -0,0 +1,21 @@
[package]
publish = false
name = "minify_html_core"
description = "Extremely fast and smart HTML minifier"
license = "MIT"
homepage = "https://github.com/wilsonzlin/minify-html"
readme = "README.md"
repository = "https://github.com/wilsonzlin/minify-html.git"
version = "0.4.3"
authors = ["Wilson Lin <code@wilsonl.in>"]
edition = "2018"
[lib]
name = "minify_html_core"
crate-type = ["cdylib"]
[dependencies]
minify-html = { path = "..", features = [] }
[dependencies.pyo3]
version = "0.13.0"
features = ["extension-module"]