-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (54 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
63 lines (54 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "bitcoin-compiler"
version = "0.1.1"
edition = "2021"
authors = ["Bitcoin Compiler App"]
description = "Compile Bitcoin Core and Electrs from source on macOS"
[[bin]]
name = "bitcoin-compiler"
path = "src/main.rs"
[dependencies]
# GUI framework — eframe/egui immediate-mode GUI with Metal on macOS.
eframe = { version = "0.28", default-features = false, features = [
"default_fonts",
"wgpu",
"accesskit",
] }
egui = "0.28"
# Async runtime — only the subsystems we actually use.
tokio = { version = "1", features = [
"rt-multi-thread",
"sync",
"time",
"io-util",
"process",
"macros",
"fs",
] }
# HTTP client for GitHub API
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
] }
# Serialization
serde = { version = "1", features = ["derive"] }
# Structured error handling
anyhow = "1"
# Native file picker (NSOpenPanel on macOS)
rfd = "0.14"
# ── macOS bundle metadata ──────────────────────────────────────────────────────
[package.metadata.bundle]
name = "Bitcoin Compiler"
identifier = "com.bitcoincompiler.app"
icon = []
version = "0.1.1"
copyright = "Copyright 2024"
category = "developer-tool"
short_description = "Compile Bitcoin Core and Electrs from source on macOS"
# ── Release profile ────────────────────────────────────────────────────────────
[profile.release]
opt-level = 3
lto = "thin"
strip = true
# codegen-units = 1 is removed: it conflicts with thin LTO and slows
# incremental builds without measurable benefit alongside thin LTO.