forked from itt-ustutt/num-dual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (36 loc) · 1.15 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
[package]
name = "num-dual"
version = "0.7.1"
authors = ["Gernot Bauer <[email protected]>",
"Philipp Rehner <[email protected]>"]
edition = "2018"
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 = { version = "0.32.3", features = ["alloc"] }
pyo3 = { version = "0.18", optional = true, features = ["multiple-pymethods", "extension-module", "abi3", "abi3-py37"] }
ndarray = { version = "0.15", optional = true }
numpy = { version = "0.18", optional = true }
approx = "0.5"
simba = "0.8"
[profile.release]
lto = true
[features]
default = []
python_macro = []
python = ["pyo3", "numpy", "ndarray", "python_macro"]
linalg = ["ndarray"]
[dev-dependencies]
criterion = "0.4"
[[bench]]
name = "benchmark"
harness = false