36 lines
1.1 KiB
TOML
36 lines
1.1 KiB
TOML
[package]
|
|
name = "igneum-app"
|
|
version = "0.3.3"
|
|
edition = "2021"
|
|
description = "Igneum Miner engine: supervises the node, the miner and the GPU workers, and serves the dashboard on 127.0.0.1"
|
|
license = "MIT"
|
|
publish = false
|
|
build = "build.rs" # Windows targets: links resources/igneum-app.rc (coin icon, version block) into the exe
|
|
|
|
[[bin]]
|
|
name = "igneum-app"
|
|
path = "src/main.rs"
|
|
|
|
# the publisher's manifest signer (packaging/ota/publish-manifest.sh); built here, never shipped
|
|
[[bin]]
|
|
name = "igneum-ota-sign"
|
|
path = "src/bin/ota-sign.rs"
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
k256 = { version = "0.13", default-features = false, features = ["arithmetic", "std"] }
|
|
sha3 = { version = "0.10", default-features = false }
|
|
getrandom = "0.2"
|
|
# over-the-air updates (src/manifest.rs, src/ota.rs): Ed25519 manifest signatures and sha256 of the downloads
|
|
ed25519-dalek = { version = "2", default-features = false, features = ["std"] }
|
|
sha2 = { version = "0.10", default-features = false }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[profile.release]
|
|
opt-level = 2
|
|
lto = "thin"
|
|
codegen-units = 4
|
|
strip = true
|