# 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 = "aprender-cbtop"
version = "0.31.2"
authors = ["Trueno Engineering"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compute Block Top - Real-time load testing and hardware monitoring TUI"
readme = "README.md"
keywords = [
    "gpu",
    "cuda",
    "simd",
    "monitoring",
    "tui",
]
categories = [
    "command-line-utilities",
    "hardware-support",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/trueno"

[features]
cuda = [
    "dep:trueno-gpu",
    "trueno-gpu/cuda",
]
default = []
full = [
    "cuda",
    "wos-kernel",
]
wos-kernel = []

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

[[bin]]
name = "aprender-cbtop"
path = "src/main.rs"

[[example]]
name = "adaptive_ml_demo"
path = "examples/adaptive_ml_demo.rs"

[[example]]
name = "federated_metrics_demo"
path = "examples/federated_metrics_demo.rs"

[[example]]
name = "incremental_snapshot_demo"
path = "examples/incremental_snapshot_demo.rs"

[[example]]
name = "predictive_scheduler_demo"
path = "examples/predictive_scheduler_demo.rs"

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

[[test]]
name = "adversarial_f1001"
path = "tests/adversarial_f1001/main.rs"

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

[[test]]
name = "backend_regression_f1231"
path = "tests/backend_regression_f1231/main.rs"

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

[[test]]
name = "cache_analysis_f1121"
path = "tests/cache_analysis_f1121/main.rs"

[[test]]
name = "context_regression_f1311"
path = "tests/context_regression_f1311/main.rs"

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

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

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

[[test]]
name = "double_blind_f1021"
path = "tests/double_blind_f1021/main.rs"

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

[[test]]
name = "falsification"
path = "tests/falsification/main.rs"

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

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

[[test]]
name = "golden_trace_f1211"
path = "tests/golden_trace_f1211/main.rs"

[[test]]
name = "grammar_f701"
path = "tests/grammar_f701/main.rs"

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

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

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

[[test]]
name = "performance_prediction_f1251"
path = "tests/performance_prediction_f1251/main.rs"

[[test]]
name = "profile_persistence_f1201"
path = "tests/profile_persistence_f1201/main.rs"

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

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

[[test]]
name = "statistics_f1101"
path = "tests/statistics_f1101/main.rs"

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

[[test]]
name = "thermal_prediction_f1221"
path = "tests/thermal_prediction_f1221/main.rs"

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.batuta-common]
version = "0.1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crossterm]
version = "0.28"

[dependencies.dirs]
version = "5.0"

[dependencies.pollster]
version = "0.4"

[dependencies.presentar-core]
version = "0.3"

[dependencies.presentar-terminal]
version = "0.3"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.toml]
version = "0.8"

[dependencies.trueno]
version = "0.31.2"
package = "aprender-compute"

[dependencies.trueno-gpu]
version = "0.31.2"
optional = true
package = "aprender-gpu"

[dev-dependencies.jugar-probar]
version = "1.0"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
wildcard_enum_match_arm = "deny"
