chore: Enable asset compression

This reduces size of release binary by ~20% from 134MB to 107MB without noticeable slowdown on startup. Assets are decompressed granularly, on first access
This commit is contained in:
Piotr Osiewicz 2024-01-10 13:43:49 +01:00
parent 1d000f1dcc
commit 1c77104050
3 changed files with 69 additions and 2 deletions

View file

@ -47,7 +47,7 @@ project = { path = "../project", features = ["test-support"] }
rpc = { path = "../rpc", features = ["test-support"] }
workspace = { path = "../workspace", features = ["test-support"] }
settings = { path = "../settings", features = ["test-support"]}
rust-embed = { version = "8.0", features = ["include-exclude"] }
rust-embed.workspace = true
client = { path = "../client" }
node_runtime = { path = "../node_runtime"}