29 lines
757 B
TOML
29 lines
757 B
TOML
[package]
|
|
name = "sbp"
|
|
version = "0.1.1"
|
|
authors = ["Magnus Ulimoen <magnus@ulimoen.dev>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
ndarray = { version = "0.15.0", features = ["approx"] }
|
|
approx = "0.4.0"
|
|
sprs = { version = "0.10.0", optional = true, default-features = false }
|
|
serde = { version = "1.0.115", optional = true, default-features = false, features = ["derive"] }
|
|
num-traits = "0.2.14"
|
|
float = { path = "../utils/float" }
|
|
constmatrix = { path = "../utils/constmatrix" }
|
|
core_simd = { git = "https://github.com/rust-lang/portable-simd" }
|
|
|
|
[features]
|
|
# Use f32 as precision, default is f64
|
|
f32 = ["float/f32"]
|
|
sparse = ["dep:sprs"]
|
|
serde1 = ["dep:serde", "ndarray/serde"]
|
|
|
|
[dev-dependencies]
|
|
iai = "0.1.1"
|
|
|
|
[[bench]]
|
|
name = "sbpoperators"
|
|
harness = false
|