add pyi
This commit is contained in:
parent
c629cd00c3
commit
0f289a728b
@ -11,4 +11,4 @@ crate-type = ["cdylib"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
num-bigint = "0.4.6"
|
num-bigint = "0.4.6"
|
||||||
num-traits = "0.2.19"
|
num-traits = "0.2.19"
|
||||||
pyo3 = "0.22.0"
|
pyo3 = { version = "0.22.2", features = ["extension-module"] }
|
||||||
|
4
ecc_rs.pyi
Normal file
4
ecc_rs.pyi
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# ecc_rs.pyi
|
||||||
|
|
||||||
|
def add(p1: tuple[str, str], p2: tuple[str, str]) -> tuple[str, str]: ...
|
||||||
|
def multiply(point: tuple[str, str], n: str) -> tuple[str, str]: ...
|
@ -6,10 +6,10 @@ build-backend = "maturin"
|
|||||||
name = "ecc_rs"
|
name = "ecc_rs"
|
||||||
requires-python = ">=3.8"
|
requires-python = ">=3.8"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Rust",
|
"Programming Language :: Rust",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
|
||||||
]
|
]
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
[tool.maturin]
|
[tool.maturin]
|
||||||
features = ["pyo3/extension-module"]
|
features = ["pyo3/extension-module"]
|
||||||
|
bindings = "pyo3"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user