Skip to content

Commit

Permalink
Remove dependency on nalgebra macros feature
Browse files Browse the repository at this point in the history
Remove `nalgebra` `macros` feature from dependencies and add it to dev dependencies.

Bump edition to 2021.
  • Loading branch information
riverbl authored and YeungOnion committed Aug 3, 2024
1 parent 3f140e4 commit 3179140
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["probability", "statistics", "stats", "distribution", "math"]
categories = ["science"]
homepage = "https://github.com/statrs-dev/statrs"
repository = "https://github.com/statrs-dev/statrs"
edition = "2018"
edition = "2021"

include = ["CHANGELOG.md", "LICENSE.md", "src/", "tests/"]

Expand All @@ -19,10 +19,11 @@ path = "src/lib.rs"

[dependencies]
rand = "0.8"
nalgebra = { version = "0.32", features = ["rand"] }
nalgebra = { version = "0.32", default_features = false, features = ["rand", "std"] }
approx = "0.5.0"
num-traits = "0.2.14"

[dev-dependencies]
criterion = "0.3.3"
anyhow = "1.0"
nalgebra = { version = "0.32", default_features = false, features = ["macros"] }

0 comments on commit 3179140

Please sign in to comment.