/ Cargo.toml
Cargo.toml
 1  [package]
 2  name = "bench_of_snafu_vs_anyhow"
 3  publish = false
 4  version.workspace = true
 5  edition.workspace = true
 6  license.workspace = true
 7  rust-version = "1.66"
 8  
 9  [features]
10  default = ["noisy_PC"]
11  noisy_PC = []  # Don't use if wanting to notice minor effects on performance.
12  
13  [dependencies]
14  anyhow.workspace = true
15  snafu.workspace = true
16  criterion.workspace = true
17  my_whatever.workspace = true
18  
19  [workspace]
20  
21  [workspace.package]
22  version = "0.0.1"
23  edition = "2021"
24  license = "Unlicense"
25  
26  [workspace.dependencies]
27  anyhow = "1"
28  snafu = "0.8"
29  # From GitHub, to use latest commits to it.
30  criterion = { version = "0.5", git = "https://github.com/bheisler/criterion.rs.git" }
31  # Our own packages, for use by our own packages.
32  my_whatever = { path = "my_whatever" }