1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "tiny-bench"
version = "0.4.0"
authors = ["Embark <opensource@embark-studios.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny benchmarking library"
homepage = "https://github.com/EmbarkStudios/tiny-bench"
readme = "README.md"
keywords = ["benchmarking"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EmbarkStudios/tiny-bench"
[lib]
name = "tiny_bench"
path = "src/lib.rs"
[[example]]
name = "bad_sort"
path = "examples/bad_sort.rs"
required-features = ["bench"]
[[example]]
name = "bench_compare"
path = "examples/bench_compare.rs"
required-features = ["bench"]
[[example]]
name = "time_iterator"
path = "examples/time_iterator.rs"
required-features = ["timer"]
[[example]]
name = "time_loop"
path = "examples/time_loop.rs"
required-features = ["timer"]
[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false
[dependencies]
[features]
bench = []
default = [
"timer",
"bench",
]
timer = []
|