-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring dev-dependencies up-to-date. (#491)
* Test all stable features. Run Rust audit on dependencies. * Bump MSRV to 1.46
- Loading branch information
Showing
13 changed files
with
127 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Security audit | ||
on: | ||
push: | ||
paths: | ||
- '**/Cargo.toml' | ||
- '**/Cargo.lock' | ||
jobs: | ||
security_audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions-rs/audit-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,63 @@ | ||
[package] | ||
authors = ["Jorge Aparicio <[email protected]>", "Brook Heisler <[email protected]>"] | ||
name = "criterion" | ||
authors = [ | ||
"Jorge Aparicio <[email protected]>", | ||
"Brook Heisler <[email protected]>", | ||
] | ||
name = "criterion" | ||
version = "0.3.4" | ||
edition = "2018" | ||
|
||
description = "Statistics-driven micro-benchmarking library" | ||
homepage = "https://bheisler.github.io/criterion.rs/book/index.html" | ||
repository = "https://github.com/bheisler/criterion.rs" | ||
readme = "README.md" | ||
keywords = ["criterion", "benchmark"] | ||
categories = ["development-tools::profiling"] | ||
license = "Apache-2.0/MIT" | ||
exclude = ["book/*"] | ||
homepage = "https://bheisler.github.io/criterion.rs/book/index.html" | ||
repository = "https://github.com/bheisler/criterion.rs" | ||
readme = "README.md" | ||
keywords = ["criterion", "benchmark"] | ||
categories = ["development-tools::profiling"] | ||
license = "Apache-2.0/MIT" | ||
exclude = ["book/*"] | ||
|
||
[dependencies] | ||
lazy_static = "1.4" | ||
criterion-plot = { path="plot", version="0.4.3" } | ||
itertools = "0.10" | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
serde_derive = "1.0" | ||
serde_cbor = "0.11" | ||
atty = "0.2" | ||
clap = { version = "2.33", default-features = false } | ||
csv = "1.1" | ||
walkdir = "2.3" | ||
tinytemplate = "1.1" | ||
cast = "0.2" | ||
num-traits = { version = "0.2", default-features = false } | ||
oorandom = "11.1" | ||
rayon = "1.3" | ||
regex = { version = "1.3", default-features = false, features = ["std"] } | ||
futures = { version = "0.3", default_features = false, optional = true } | ||
smol = { version = "1.2", default-features = false, optional = true } | ||
tokio = { version = "1.0", default-features = false, features = ["rt"], optional = true } | ||
async-std = { version = "1.9", optional = true } | ||
lazy_static = "1.4" | ||
criterion-plot = { path = "plot", version = "0.4.3" } | ||
itertools = "0.10" | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
serde_derive = "1.0" | ||
serde_cbor = "0.11" | ||
atty = "0.2" | ||
clap = { version = "2.33", default-features = false } | ||
csv = "1.1" | ||
walkdir = "2.3" | ||
tinytemplate = "1.1" | ||
cast = "0.2" | ||
num-traits = { version = "0.2", default-features = false } | ||
oorandom = "11.1" | ||
rayon = "1.3" | ||
regex = { version = "1.3", default-features = false, features = ["std"] } | ||
futures = { version = "0.3", default_features = false, optional = true } | ||
smol = { version = "1.2", default-features = false, optional = true } | ||
tokio = { version = "1.0", default-features = false, features = ["rt"], optional = true } | ||
async-std = { version = "1.9", optional = true } | ||
|
||
[dependencies.plotters] | ||
version = "^0.3.1" | ||
version = "^0.3.1" | ||
default-features = false | ||
features = ["svg_backend", "area_series", "line_series"] | ||
features = ["svg_backend", "area_series", "line_series"] | ||
|
||
[dev-dependencies] | ||
tempfile = "3.1" | ||
approx = "0.4" | ||
quickcheck = { version = "0.9", default-features = false } | ||
rand = "0.8" | ||
futures = { version = "0.3", default_features = false, features = ["executor"] } | ||
tempfile = "3.2.0" | ||
approx = "0.5.0" | ||
quickcheck = { version = "1.0", default-features = false } | ||
rand = "0.8" | ||
futures = { version = "0.3", default_features = false, features = ["executor"] } | ||
|
||
[badges] | ||
travis-ci = { repository = "bheisler/criterion.rs" } | ||
appveyor = { repository = "bheisler/criterion.rs", id = "4255ads9ctpupcl2" } | ||
travis-ci = { repository = "bheisler/criterion.rs" } | ||
appveyor = { repository = "bheisler/criterion.rs", id = "4255ads9ctpupcl2" } | ||
maintenance = { status = "passively-maintained" } | ||
|
||
[features] | ||
stable = ["async_futures", "async_smol", "async_tokio", "async_std"] | ||
default = ["cargo_bench_support"] | ||
|
||
# Enable use of the nightly-only test::black_box function to discourage compiler optimizations. | ||
|
@@ -65,9 +69,9 @@ async = ["futures"] | |
# These features enable built-in support for running async benchmarks on each different async | ||
# runtime. | ||
async_futures = ["futures/executor", "async"] | ||
async_smol = ["smol", "async"] | ||
async_tokio = ["tokio", "async"] | ||
async_std = ["async-std", "async"] | ||
async_smol = ["smol", "async"] | ||
async_tokio = ["tokio", "async"] | ||
async_std = ["async-std", "async"] | ||
|
||
# This feature _currently_ does nothing except disable a warning message, but in 0.4.0 it will be | ||
# required in order to have Criterion.rs generate its own plots (as opposed to using cargo-criterion) | ||
|
@@ -86,7 +90,7 @@ csv_output = [] | |
exclude = ["cargo-criterion"] | ||
|
||
[[bench]] | ||
name = "bench_main" | ||
name = "bench_main" | ||
harness = false | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.