-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (35 loc) · 1.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "mixed_pyo3_template"
version = "0.2.0"
authors = ["Colin Daniels <[email protected]>"]
description = "Example mixed python/rust package using pyo3 and maturin"
edition = "2018"
license = "MIT"
readme = "README.md"
repository = "https://github.com/colin-daniels/mixed_pyo3_template"
[lib]
name = "mixed_pyo3_template"
crate-type = ["cdylib", "rlib"]
[dependencies.pyo3]
version = "0.13"
features = ["extension-module"]
[package.metadata.maturin]
requires-python = ">=3.6"
requires-dist = [
"numpy>=1.18",
]
classifier = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[package.metadata.maturin.scripts]
pyo3_hello = "mixed_pyo3_template:hello"