-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
55 lines (46 loc) · 1.53 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
52
53
54
55
[package]
name = "diffsol"
version = "0.5.1"
edition = "2021"
description = "A library for solving ordinary differential equations (ODEs) in Rust."
license = "MIT"
authors = ["Martin Robinson <martinjrobins@gmail.com>"]
repository = "https://github.com/martinjrobins/diffsol"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["nalgebra", "faer", "diffsl"]
faer = []
nalgebra = []
sundials = ["suitesparse_sys", "bindgen", "cc"]
suitesparse = ["suitesparse_sys"]
diffsl = ["dep:diffsl"]
diffsl-llvm = []
diffsl-llvm15 = ["diffsl/llvm15-0", "diffsl", "diffsl-llvm"]
diffsl-llvm16 = ["diffsl/llvm16-0", "diffsl", "diffsl-llvm"]
diffsl-llvm17 = ["diffsl/llvm17-0", "diffsl", "diffsl-llvm"]
diffsl-llvm18 = ["diffsl/llvm18-0", "diffsl", "diffsl-llvm"]
[dependencies]
nalgebra = "0.33.2"
nalgebra-sparse = { version = "0.10", features = ["io"] }
num-traits = "0.2.17"
serde = { version = "1.0.216", features = ["derive"] }
diffsl = { package = "diffsl", version = "0.2.6", optional = true }
petgraph = "0.6.4"
faer = "0.19.4"
suitesparse_sys = { version = "0.1.3", optional = true }
thiserror = "2.0.6"
[dev-dependencies]
insta = { version = "1.41.1", features = ["yaml"] }
criterion = { version = "0.5.1" }
skeptic = "0.13.7"
[build-dependencies]
bindgen = { version = "0.71.1", optional = true }
cc = { version = "1.2.3", optional = true }
[[bench]]
name = "ode_solvers"
harness = false
[package.metadata.docs.rs]
features = ["diffsl-llvm15"]
[profile.profiling]
inherits = "release"
debug = true