rust integration done-ish

This commit is contained in:
Zen 2021-05-06 16:36:15 +03:00
parent c1896e71df
commit 720a944691
2 changed files with 19 additions and 1 deletions

View file

@ -3,6 +3,23 @@ name = "Av1an"
version = "0.1.0"
authors = ["Zen <46526140+master-of-zen@users.noreply.github.com>"]
edition = "2018"
readme = "README.md"
homepage = "https://github.com/master-of-zen/Av1an"
[package.metadata.maturin]
maintainer = "Zen"
maintainer-email = "46526140+master-of-zen@users.noreply.github.com"
classifier = ["Programming Language :: Python", "Programming Language :: Rust"]
requires-dist = [
"numpy",
"scenedetect[opencv]",
"opencv-python",
"tqdm",
"psutil",
"scipy",
"matplotlib",
]
[lib]
name = "av1an_rust"

View file

@ -3,8 +3,9 @@ build-backend = "maturin"
requires = ["setuptools"]
[tool.maturin]
cargo-extra-args = ["--release"]
bindings = "pyo3"
manylinux = "on"
manylinux = "off"
[tool.maturin.dependencies]
python = "^3.6"