[package]
edition = "2024"
rust-version = "1.86"
name = "bigoish"
version = "0.1.4"
authors = ["Itamar Turner-Trauring <itamar@itamarst.org>"]
build = "build.rs"
exclude = ["Justfile"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Test the computational complexity (big-O) of Rust algorithms"
readme = "README.md"
keywords = [
"test",
"testing",
"complexity",
"bigo",
]
categories = [
"development-tools::testing",
"development-tools::profiling",
]
license = "Apache-2.0"
repository = "https://codeberg.org/itamarst/bigoish/"
[features]
cpu-instructions = [
"dep:libc",
"dep:perf-event",
]
default = [
"cpu-instructions",
"plots",
]
plots = [
"dep:rgb",
"dep:textplots",
]
[lib]
name = "bigoish"
path = "src/lib.rs"
[[example]]
name = "panic"
path = "examples/panic.rs"
[dependencies.cpu-time]
version = "1.0.0"
[dependencies.libc]
version = "0.2.183"
optional = true
[dependencies.perf-event]
version = "0.4.9"
optional = true
default-features = false
[dependencies.rgb]
version = "0.8.53"
optional = true
[dependencies.rmpfit]
version = "0.4.0"
[dependencies.textplots]
version = "0.8.7"
optional = true
[dev-dependencies.fastrand]
version = "2.3.0"
[dev-dependencies.rstest]
version = "0.26.1"