nmbrs-metrics 0.4.0

Metrics collection and reporting for nmbrs
Documentation
# 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 = "2024"
name = "nmbrs-metrics"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metrics collection and reporting for nmbrs"
homepage = "https://github.com/nosqlbench/nmbrs"
readme = "README.md"
keywords = [
    "nosqlbench",
    "workload",
    "benchmark",
    "data-generation",
]
categories = [
    "command-line-utilities",
    "simulation",
]
license = "Apache-2.0"
repository = "https://github.com/nosqlbench/nmbrs"

[features]
all-reporters = [
    "sqlite",
    "victoriametrics",
]
default = []
sqlite = ["dep:rusqlite"]
victoriametrics = ["dep:reqwest"]

[lib]
name = "nmbrs_metrics"
path = "src/lib.rs"

[[test]]
name = "api_surface"
path = "tests/api_surface.rs"

[[bench]]
name = "cadence_layout"
path = "benches/cadence_layout.rs"
harness = false

[[bench]]
name = "instruments"
path = "benches/instruments.rs"
harness = false

[dependencies.arc-swap]
version = "1"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.futures]
version = "0.3"

[dependencies.hdrhistogram]
version = "7"

[dependencies.inventory]
version = "0.3.24"

[dependencies.libc]
version = "0.2"

[dependencies.polydat]
version = "0.6.2"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["blocking"]
optional = true

[dependencies.rusqlite]
version = "0.31"
features = [
    "bundled",
    "functions",
]
optional = true

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "rt-multi-thread",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "time",
]