Skip to content

Commit 378d5f8

Browse files
committed
chore: update documentation URLs and reformat Cargo.toml files
1 parent 163ca0d commit 378d5f8

5 files changed

Lines changed: 49 additions & 42 deletions

File tree

crates/codspeed/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rust-version = "1.74" # MSRV
55
edition = "2021"
66
description = "Core instrumentation library for CodSpeed"
77
authors = ["Arthur Pastel <arthur@codspeed.io>"]
8-
documentation = "https://docs.codspeed.io"
8+
documentation = "https://codspeed.io/docs/reference/codspeed-rust"
99
readme = "README.md"
1010
repository = "https://github.com/CodSpeedHQ/codspeed-rust"
1111
homepage = "https://codspeed.io"

crates/criterion_compat/criterion_fork/Cargo.toml

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,33 @@ version = "4.4.0"
88
edition = "2018"
99

1010
description = "Statistics-driven micro-benchmarking library"
11-
homepage = "https://bheisler.github.io/criterion.rs/book/index.html"
12-
repository = "https://github.com/bheisler/criterion.rs"
13-
readme = "README.md"
14-
keywords = ["criterion", "benchmark"]
15-
categories = ["development-tools::profiling"]
16-
license = "Apache-2.0 OR MIT"
17-
exclude = ["book/*"]
11+
repository = "https://github.com/CodSpeedHQ/codspeed-rust"
12+
homepage = "https://codspeed.io"
13+
documentation = "https://codspeed.io/docs/reference/codspeed-rust/criterion"
14+
readme = "README.md"
15+
keywords = ["criterion", "benchmark"]
16+
categories = ["development-tools::profiling"]
17+
license = "Apache-2.0 OR MIT"
18+
exclude = ["book/*"]
1819

1920
[dependencies]
2021
codspeed = { path = "../../codspeed", version = "=4.4.0" }
21-
anes = "0.1.4"
22-
once_cell = "1.14"
22+
anes = "0.1.4"
23+
once_cell = "1.14"
2324
criterion-plot = { version = "0.5.0" }
24-
itertools = "0.10"
25-
serde = "1.0"
26-
serde_json = "1.0"
27-
serde_derive = "1.0"
28-
ciborium = "0.2.0"
29-
is-terminal = "0.4.6"
30-
clap = { version = "4", default-features = false, features = ["std"] }
31-
walkdir = "2.3"
32-
tinytemplate = "1.1"
33-
cast = "0.3"
34-
num-traits = { version = "0.2", default-features = false, features = ["std"] }
35-
oorandom = "11.1"
36-
regex = { version = "1.5", default-features = false, features = ["std"] }
25+
itertools = "0.10"
26+
serde = "1.0"
27+
serde_json = "1.0"
28+
serde_derive = "1.0"
29+
ciborium = "0.2.0"
30+
is-terminal = "0.4.6"
31+
clap = { version = "4", default-features = false, features = ["std"] }
32+
walkdir = "2.3"
33+
tinytemplate = "1.1"
34+
cast = "0.3"
35+
num-traits = { version = "0.2", default-features = false, features = ["std"] }
36+
oorandom = "11.1"
37+
regex = { version = "1.5", default-features = false, features = ["std"] }
3738

3839
# Optional dependencies
3940
rayon = { version = "1.3", optional = true }
@@ -46,17 +47,17 @@ tokio = { version = "1.0", default-features = false, features = [
4647
async-std = { version = "1.9", optional = true }
4748

4849
[dependencies.plotters]
49-
version = "^0.3.1"
50-
optional = true
50+
version = "^0.3.1"
51+
optional = true
5152
default-features = false
52-
features = ["svg_backend", "area_series", "line_series"]
53+
features = ["svg_backend", "area_series", "line_series"]
5354

5455
[dev-dependencies]
55-
tempfile = { workspace = true }
56-
approx = "0.5.0"
56+
tempfile = { workspace = true }
57+
approx = "0.5.0"
5758
quickcheck = { version = "1.0", default-features = false }
58-
rand = "0.8"
59-
futures = { version = "0.3", default-features = false, features = ["executor"] }
59+
rand = "0.8"
60+
futures = { version = "0.3", default-features = false, features = ["executor"] }
6061

6162
[badges]
6263
maintenance = { status = "passively-maintained" }
@@ -81,9 +82,9 @@ async = ["futures"]
8182
# These features enable built-in support for running async benchmarks on each different async
8283
# runtime.
8384
async_futures = ["futures/executor", "async"]
84-
async_smol = ["smol", "async"]
85-
async_tokio = ["tokio", "async"]
86-
async_std = ["async-std", "async"]
85+
async_smol = ["smol", "async"]
86+
async_tokio = ["tokio", "async"]
87+
async_std = ["async-std", "async"]
8788

8889
# This feature _currently_ does nothing except disable a warning message, but in 0.4.0 it will be
8990
# required in order to have Criterion.rs generate its own plots (as opposed to using cargo-criterion)
@@ -99,7 +100,7 @@ cargo_bench_support = []
99100
csv_output = ["csv"]
100101

101102
[[bench]]
102-
name = "bench_main"
103+
name = "bench_main"
103104
harness = false
104105

105106
[lib]

crates/divan_compat/divan_fork/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ edition = "2021"
66
authors = ["Nikolai Vazquez"]
77
license = "MIT OR Apache-2.0"
88
description = "A temporary compatibility layer for CodSpeed to use Divan's walltime entrypoint."
9-
repository = "https://github.com/nvzqz/divan"
10-
homepage = "https://github.com/nvzqz/divan"
11-
documentation = "https://docs.rs/divan"
9+
repository = "https://github.com/CodSpeedHQ/codspeed-rust"
10+
homepage = "https://codspeed.io"
11+
documentation = "https://codspeed.io/docs/reference/codspeed-rust/divan"
1212
categories = ["development-tools::profiling"]
1313
keywords = ["benchmark", "criterion", "instrument", "measure", "performance"]
1414
readme = "README.md"

crates/divan_compat/divan_fork/macros/Cargo.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ edition = "2021"
55
authors = ["Nikolai Vazquez"]
66
license = "MIT OR Apache-2.0"
77
description = "Macros for Divan, a statistically-comfy benchmarking library."
8-
repository = "https://github.com/nvzqz/divan"
9-
homepage = "https://github.com/nvzqz/divan"
10-
documentation = "https://docs.rs/divan-macros"
8+
repository = "https://github.com/CodSpeedHQ/codspeed-rust"
9+
homepage = "https://codspeed.io"
10+
documentation = "https://codspeed.io/docs/reference/codspeed-rust/criterion"
1111
categories = ["development-tools::profiling"]
1212
keywords = ["benchmark", "criterion", "instrument", "measure", "performance"]
1313
readme = "../README.md"
@@ -19,7 +19,13 @@ proc-macro = true
1919
proc-macro2 = "1"
2020
quote = { version = "1", default-features = false }
2121
# Versions prior to *.18 fail to parse empty attribute metadata.
22-
syn = { version = "^2.0.18", default-features = false, features = ["full", "clone-impls", "parsing", "printing", "proc-macro"] }
22+
syn = { version = "^2.0.18", default-features = false, features = [
23+
"full",
24+
"clone-impls",
25+
"parsing",
26+
"printing",
27+
"proc-macro",
28+
] }
2329

2430
[dev-dependencies]
2531
divan = { workspace = true }

crates/divan_compat/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ rust-version = "1.80"
55
edition = "2021"
66
description = "Macros for the Divan compatibility layer for CodSpeed"
77
authors = ["Arthur Pastel <arthur@codspeed.io>"]
8-
documentation = "https://docs.codspeed.io"
8+
documentation = "https://codspeed.io/docs/reference/codspeed-rust/divan"
99
readme = "../README.md"
1010
repository = "https://github.com/CodSpeedHQ/codspeed-rust"
1111
homepage = "https://codspeed.io"

0 commit comments

Comments
 (0)