LamassuEventKind → BitSpireEventKind (nostr-client; no consumers outside the package), the kiosk theme localStorage keys lamassu-theme / lamassu-color-mode → bitspire-* (a one-time theme reset on existing kiosks), the ui-shared UMD global LamassuUIShared → BitSpireUIShared, and the orphaned Rust HAL's Cargo name/description/repository plus its lib.rs header — now also labelled as the unbuilt leftover it is. nostr-client: 43/43 tests, tsc clean. Machine app: vue-tsc + electron tsc clean.
50 lines
996 B
TOML
50 lines
996 B
TOML
[package]
|
|
name = "bitspire-hal"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Hardware Abstraction Layer for the bitSpire ATM (orphaned Rust HAL; not built)"
|
|
license = "MIT"
|
|
repository = "https://git.atitlan.io/aiolabs/bitspire"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# napi-rs for Node.js bindings
|
|
napi = { version = "2", features = ["async", "tokio_rt"] }
|
|
napi-derive = "2"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
# Serial port communication
|
|
tokio-serial = "5"
|
|
|
|
# Error handling
|
|
thiserror = "1"
|
|
|
|
# Async traits
|
|
async-trait = "0.1"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
[build-dependencies]
|
|
napi-build = "2"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
strip = true
|
|
codegen-units = 1
|
|
|
|
[features]
|
|
default = []
|
|
# Enable hardware drivers (for production builds)
|
|
hardware = []
|
|
# Mock-only build (for testing/development)
|
|
mock-only = []
|