Skip to content

Commit

Permalink
make file and dependecies update
Browse files Browse the repository at this point in the history
  • Loading branch information
ABouttefeux committed Jan 17, 2024
1 parent 6232ae2 commit 9749cd2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

# v0.3.0

## dependencies

- updating to crossbeam 0.8.4
- updating to num-traits 0.2.17
- updating to rayon 1.8

## breaking changes
- update dependencies
- [`SymplecticEulerError`](hnew_deterministtps://abouttefeux.github.io/lattice-qcd-rs/lattice_qcd_rs/integrator/symplectic_euler/enum.SymplecticEulerError.html) is now marked `#[non_exhaustive]`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ approx = "0.5.1"
num-traits = "0.2.17"
rand = "0.8.5"
rand_distr = "0.4.3"
crossbeam = "0.8.2"
crossbeam = "0.8.4"
rayon = "1.8"
serde = { version = "1.0", features = ["derive"], optional = true }
lattice_qcd_rs-procedural_macro = { path = "procedural_macro", version = "0.3.0" }
Expand Down
13 changes: 12 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cargo_test := test
cargo_doc := doc
cargo_clean := clean
cargo_fmt := fmt
cargo_update := update
# work space
cargo_all_flag := --all
cargo_crate_macro := -p $(name)-procedural_macro
Expand Down Expand Up @@ -52,6 +53,11 @@ git_hooks := $(foreach file, $(notdir $(wildcard tools/git_hook/*)), .git/hooks/
all: clippy


.PHONY: fix
fix: $(source_files)
- $(cargo) $(cargo_clippy) $(cargo_all_flag) $(rust_all_targets) $(fix_flags)


.PHONY: build
build: target/debug/$(lib_name)

Expand All @@ -71,7 +77,7 @@ fmt_check: $(source_files)
$(cargo) $(rust_nightly) $(cargo_fmt) $(cargo_all_flag) $(rustfmt_check_flag)


.PHONY: fmt_check
.PHONY: fmt
fmt: $(source_files)
$(cargo) $(rust_nightly) $(cargo_all_flag) $(cargo_fmt)

Expand Down Expand Up @@ -110,3 +116,8 @@ target/release/$(lib_name): $(source_files)

target/debug/$(lib_name): $(source_files)
$(cargo) $(cargo_build)


.PHONY: update
update: .FORCE
$(cargo) $(cargo_update)

0 comments on commit 9749cd2

Please sign in to comment.