rust integration done-ish
This commit is contained in:
parent
c1896e71df
commit
720a944691
17
Cargo.toml
17
Cargo.toml
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue