Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

silence deprecation warnings in lucet-benchmarks #679

Merged
merged 4 commits into from
Oct 22, 2021

Conversation

pchickey
Copy link
Contributor

@pchickey pchickey commented Oct 22, 2021

Lucet is in maintenance mode! But that maintence needs to be focused on things that matter.

  • We can ignore the deprecation warnings on criterion in lucet-benchmarks: we are not concerned with upgrading lucet-benchmarks to the new apis, because the project is nearing the end of its life.
  • We do not believe RUSTSEC-2020-0159 is reachable from this project, so ignore it in cargo audit

we do not believe this vulnerablity is reachable in our project
Comment on lines +1 to +5
// This crate uses several Criterion APIs which are deprecated. However, the
// Lucet project is in maintence mode and we no longer really care about
// maintaining and updating these interfaces, so we will ignore these
// warnings:
#![allow(deprecated)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a better fix would simply be to add the html_reports feature to the criterion dependency in cargo.toml?

@jedisct1
Copy link
Contributor

MacOS CI should be fixed by #680

@pchickey
Copy link
Contributor Author

pchickey commented Oct 22, 2021

Removed disabling macos ci from this PR, and merged #680 in. Thanks @jedisct1

@pchickey pchickey merged commit 9ecd377 into main Oct 22, 2021
@pchickey pchickey deleted the pch/silence_bench_deprecated branch October 22, 2021 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants