This repository was archived by the owner on Jun 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (67 loc) · 2.36 KB
/
Copy pathCargo.toml
File metadata and controls
77 lines (67 loc) · 2.36 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "bitforge"
version = "0.1.2"
edition = "2021"
rust-version = "1.92"
authors = ["BitForge App"]
description = "Compile Bitcoin Core and Electrs from source on macOS Apple Silicon and Linux"
license = "MIT"
repository = "https://github.com/csd113/BitForge"
keywords = ["bitcoin", "electrs", "compiler", "gui"]
categories = ["development-tools"]
[[bin]]
name = "bitforge"
path = "src/main.rs"
[dependencies]
# GUI framework — eframe/egui immediate-mode GUI with wgpu.
eframe = { version = "0.34", default-features = false, features = [
"default_fonts",
"wgpu",
"accesskit",
"x11",
"wayland",
] }
egui = "0.34"
# 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.13", default-features = false, features = [
"json",
"rustls",
] }
# Serialization
serde = { version = "1", features = ["derive"] }
# Structured error handling
anyhow = "1"
# Native file picker (NSOpenPanel on macOS, XDG portal on Linux)
rfd = "0.17"
# ── macOS bundle metadata ──────────────────────────────────────────────────────
[package.metadata.bundle]
name = "BitForge"
identifier = "com.bitforge.app"
icon = []
version = "0.1.2"
copyright = "Copyright 2024"
category = "developer-tool"
short_description = "Compile Bitcoin Core and Electrs from source"
# ── 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.
# winit 0.29 pulls objc2 0.4 for its macOS backend. On macOS 26, objc2's
# debug-only Objective-C method verifier rejects NSScreen enumeration before
# the first window is created (`NSInteger` vs `NSUInteger` encoding mismatch).
# Keep app debug assertions enabled, but compile that transitive verifier out.
[profile.dev.package.objc2]
debug-assertions = false