mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +00:00
caa08d5eaa
Some checks failed
Architecture mdBook / build (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / typo (push) Has been cancelled
CI / ci (macos-latest, stable, bash) (push) Has been cancelled
CI / ci (ubuntu-latest, stable, bash) (push) Has been cancelled
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Has been cancelled
Deny / audit (push) Has been cancelled
Doc / build (push) Has been cancelled
Doc / deploy (push) Has been cancelled
* add readme * readme, basic examples * name changes, bin impl * example, docs * book * add `cuprate-criterion-example` * docs, tracing * fix clippy * docs * lib readme * json-rpc benchmarks * add to crates.md * add `fixme` * fix `cargo b` failing this `cfg()` existing makes a regular workspace `cargo b` fail * fix cargo.toml
43 lines
No EOL
1.1 KiB
TOML
43 lines
No EOL
1.1 KiB
TOML
[package]
|
|
name = "cuprate-benchmark"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Cuprate's benchmarking binary"
|
|
license = "MIT"
|
|
authors = ["hinto-janai"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/benches/benchmark/bin"
|
|
keywords = ["cuprate", "benchmarking", "binary"]
|
|
|
|
[features]
|
|
# All new benchmarks should be added here!
|
|
all = ["example"]
|
|
|
|
# Non-benchmark features.
|
|
default = []
|
|
json = []
|
|
trace = []
|
|
debug = []
|
|
warn = []
|
|
info = []
|
|
error = []
|
|
|
|
# Benchmark features.
|
|
# New benchmarks should be added here!
|
|
example = [
|
|
"dep:cuprate-benchmark-example"
|
|
]
|
|
|
|
[dependencies]
|
|
cuprate-benchmark-lib = { workspace = true }
|
|
cuprate-benchmark-example = { workspace = true, optional = true }
|
|
|
|
cfg-if = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true, features = ["std"] }
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
|
tracing-subscriber = { workspace = true, features = ["fmt", "std", "env-filter"] }
|
|
|
|
[dev-dependencies]
|
|
|
|
[lints]
|
|
workspace = true |