-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
51 lines (44 loc) · 1.23 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
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "num-dual"
version = "0.10.3"
authors = [
"Gernot Bauer <bauer@itt.uni-stuttgart.de>",
"Philipp Rehner <prehner@ethz.ch>",
]
rust-version = "1.81"
edition = "2021"
readme = "README.md"
license = "MIT OR Apache-2.0"
description = "Generalized (hyper) dual numbers for the calculation of exact (partial) derivatives"
homepage = "https://github.com/itt-ustutt/num-dual"
repository = "https://github.com/itt-ustutt/num-dual"
keywords = ["mathematics", "numerics", "differentiation"]
categories = ["data-structures", "science", "mathematics"]
exclude = ["/.github/*", "*.ipynb", "./docs/*"]
[lib]
name = "num_dual"
[dependencies]
num-traits = "0.2"
nalgebra = "0.33"
ndarray = { version = "0.16", optional = true }
numpy = { version = "0.22", optional = true }
approx = "0.5"
simba = "0.9"
serde = { version = "1.0", features = ["derive"], optional = true }
[dependencies.pyo3]
version = "0.22"
optional = true
features = ["multiple-pymethods", "extension-module", "abi3", "abi3-py37"]
[profile.release]
lto = true
[features]
default = []
python_macro = []
python = ["pyo3", "numpy", "ndarray", "python_macro"]
linalg = ["ndarray"]
[dev-dependencies]
criterion = "0.5"
serde_json = "1.0"
[[bench]]
name = "benchmark"
harness = false