feat: reduce binary size (#160)

* reduced bin size

* Update README.md
This commit is contained in:
ControlCplusControlV 2022-12-23 19:14:21 -07:00 committed by GitHub
parent f8275f054e
commit ac8a145ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -34,6 +34,13 @@ plotters = "0.3.3"
tempfile = "3.3.0"
hex = "0.4.3"
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
######################################
# Examples
######################################

View File

@ -6,7 +6,7 @@ Helios is a fully trustless, efficient, and portable Ethereum light client writt
Helios converts an untrusted centralized RPC endpoint into a safe unmanipulable local RPC for its users. It syncs in seconds, requires no storage, and is lightweight enough to run on mobile devices.
The entire size of Helios's binary is 13Mb and should be easy to compile into WebAssembly. This makes it a perfect target to embed directly inside wallets and dapps.
The entire size of Helios's binary is 5.3Mb and should be easy to compile into WebAssembly. This makes it a perfect target to embed directly inside wallets and dapps.
## Installing