2020-01-30 17:28:22 +00:00
|
|
|
[package]
|
|
|
|
name = "sbp"
|
|
|
|
version = "0.1.1"
|
2021-03-16 18:00:24 +00:00
|
|
|
authors = ["Magnus Ulimoen <magnus@ulimoen.dev>"]
|
2022-07-05 18:19:49 +00:00
|
|
|
edition = "2021"
|
2020-01-30 17:28:22 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-07-19 18:33:50 +00:00
|
|
|
ndarray = "0.15.4"
|
2022-07-05 19:59:27 +00:00
|
|
|
approx = "0.5.1"
|
|
|
|
sprs = { version = "0.11.0", optional = true, default-features = false }
|
|
|
|
serde = { version = "1.0.138", optional = true, default-features = false, features = ["derive"] }
|
|
|
|
num-traits = "0.2.15"
|
2021-03-22 15:17:27 +00:00
|
|
|
float = { path = "../utils/float" }
|
2021-03-22 15:24:32 +00:00
|
|
|
constmatrix = { path = "../utils/constmatrix" }
|
2020-01-30 17:28:22 +00:00
|
|
|
|
2020-02-25 18:44:13 +00:00
|
|
|
[features]
|
2020-02-27 19:26:43 +00:00
|
|
|
# Use f32 as precision, default is f64
|
2021-03-22 15:17:27 +00:00
|
|
|
f32 = ["float/f32"]
|
2022-05-17 06:03:05 +00:00
|
|
|
sparse = ["dep:sprs"]
|
|
|
|
serde1 = ["dep:serde", "ndarray/serde"]
|
2020-02-25 18:44:13 +00:00
|
|
|
|
2020-01-30 17:28:22 +00:00
|
|
|
[dev-dependencies]
|
2021-01-25 19:51:59 +00:00
|
|
|
iai = "0.1.1"
|
2022-07-19 18:33:50 +00:00
|
|
|
ndarray = { version = "0.15.4", features = ["approx-0_5"] }
|
2020-01-30 17:28:22 +00:00
|
|
|
|
2020-04-20 19:33:54 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "sbpoperators"
|
|
|
|
harness = false
|