Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix benchmarks build #995

Merged
merged 4 commits into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions benches/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ themis = { version = "0.14", path = "../../src/wrappers/themis/rust" }
criterion = { version = "0.3.4", features = ["cargo_bench_support", "html_reports"] }
# Unpin when MSRV > 1.60
csv = "~1.1"
# Freeze `rayon` and `rayon-core` versions (first is used by `criterion`)
# so that benchmarks still build/run with Rust 1.58.
# FIXME: remove thiese two after we bump minimum required Rust version
rayon = "=1.6.1"
rayon-core = "=1.10.1"

[[bench]]
name = "secure_cell_seal_master_key"
Expand Down
5 changes: 5 additions & 0 deletions benches/themis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ libthemis-sys = { version = "0.14", path = "../../src/wrappers/themis/rust/libth
criterion = { version = "0.3.4", features = ["cargo_bench_support", "html_reports"] }
ilammy marked this conversation as resolved.
Show resolved Hide resolved
# Unpin when MSRV > 1.60
csv = "~1.1"
# Freeze `rayon` and `rayon-core` versions (first is used by `criterion`)
# so that benchmarks still build/run with Rust 1.58.
# FIXME: remove thiese two after we bump minimum required Rust version
rayon = "=1.6.1"
rayon-core = "=1.10.1"

[[bench]]
name = "secure_cell_seal_master_key"
Expand Down