-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (32 loc) · 1.33 KB
/
Copy pathCargo.toml
File metadata and controls
36 lines (32 loc) · 1.33 KB
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
[package]
name = "dashu-python"
version = "0.5.0"
authors = ["Jacob Zhong <cmpute@gmail.com>"]
edition = "2024"
description = "Python binding for the dashu numeric types"
keywords = ["mathematics", "numerics"]
categories = ["mathematics", "science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cmpute/dashu"
homepage = "https://github.com/cmpute/dashu"
documentation = "https://docs.rs/dashu-python"
readme = "README.md"
rust-version = "1.85"
[package.metadata.docs.rs]
all-features = true
[dependencies]
dashu-base = { version = "0.5.0", path = "../base", features = ["std"] }
dashu-int = { version = "0.5.0", path = "../integer", features = ["std", "num-order"] }
dashu-float = { version = "0.5.0", path = "../float", features = ["std", "num-order"] }
dashu-ratio = { version = "0.5.0", path = "../rational", features = ["std", "num-order", "dashu-float"] }
dashu-cmplx = { version = "0.5.0", path = "../complex", features = ["std", "num-order"] }
num-order = "1.2.0"
[dependencies.pyo3]
version = "0.29"
# `multiple-pymethods` lets a type's methods span several `#[pymethods]` blocks, so the
# transcendental methods can be generated by macros (impl_float_math! / impl_cpy_math!)
# in their own block rather than hand-written per type.
features = ["extension-module", "multiple-pymethods"]
[lib]
name = "dashu"
crate-type = ["cdylib"]