@@ -31,8 +31,13 @@ hex = "0.4"
3131hex-literal = " 1.0.0"
3232indicatif = " 0.17"
3333clap = { version = " 4.5" , features = [" derive" ] }
34- reqwest = { version = " 0.11" , features = [" json" , " blocking" ] } # FIX: 'blocking' feature is required for reqwest::blocking::Client
35- serde = { version = " 1.0" , features = [" derive" ] } # FIX: 'derive' feature is required for #[derive(Deserialize)]
34+ reqwest = { version = " 0.11" , features = [
35+ " json" ,
36+ " blocking" ,
37+ ] } # FIX: 'blocking' feature is required for reqwest::blocking::Client
38+ serde = { version = " 1.0" , features = [
39+ " derive" ,
40+ ] } # FIX: 'derive' feature is required for #[derive(Deserialize)]
3641serde_json = " 1.0" # Added for completeness, often required with serde
3742pallas-addresses = " 0.33"
3843pallas-crypto = " 0.33"
@@ -58,3 +63,15 @@ randomx-rs = "1.3"
5863hex = " 0.4"
5964indicatif = " 0.17"
6065getrandom = " 0.3"
66+
67+ # --- RELEASE PROFILE OPTIMIZATIONS ---
68+ [profile .release ]
69+ opt-level = 3 # Maximum optimization level
70+ lto = " fat" # Link-time optimization (whole program optimization)
71+ codegen-units = 1 # Single codegen unit for better optimization
72+ panic = " abort" # Abort on panic instead of unwinding (smaller, faster)
73+ # strip = true # Removed: Keep debug symbols for better crash reports
74+ # overflow-checks = false # Removed: Keep overflow checks for safety in crypto code
75+
76+ [profile .release .package ."*" ]
77+ opt-level = 3 # Also optimize all dependencies maximally
0 commit comments