cube-tui 0.1.9

Terminal UI timer and session manager for speedcubing, with optional web dashboard and BLE (GAN) timer support.
# 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 = "cube-tui"
version = "0.1.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal UI timer and session manager for speedcubing, with optional web dashboard and BLE (GAN) timer support."
readme = "README.md"
license = "MIT"
repository = "https://github.com/enekocm7/cube-tui"

[features]
bluetooth = [
    "uuid",
    "btleplug",
    "dep:tokio",
    "futures-util",
    "flume",
]
dashboard = [
    "axum",
    "dep:tokio",
    "rust-embed",
    "open",
    "mime_guess",
]
wca-scrambles = ["jni"]

[[bin]]
name = "cube"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.axum]
version = "0.8.9"
optional = true

[dependencies.btleplug]
version = "0.12.0"
optional = true

[dependencies.chrono]
version = "0.4.45"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "color",
]

[dependencies.cube-tui-macros]
version = "0.1.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.flume]
version = "0.12.0"
features = ["async"]
optional = true

[dependencies.futures-util]
version = "0.3.32"
optional = true

[dependencies.jni]
version = "0.22.4"
features = ["invocation"]
optional = true

[dependencies.mime_guess]
version = "2.0.5"
optional = true

[dependencies.open]
version = "5.3.5"
optional = true

[dependencies.rand]
version = "0.10.1"

[dependencies.ratatui]
version = "0.30.2"

[dependencies.rust-embed]
version = "8.11.0"
features = ["mime-guess"]
optional = true

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.tokio]
version = "1.52.3"
features = ["full"]
optional = true

[dependencies.toml]
version = "1.1.2"

[dependencies.uuid]
version = "1.23.3"
features = ["v4"]
optional = true

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true