From 0ad9ae05836d919ef5df946dd47ad7530ba7eed2 Mon Sep 17 00:00:00 2001 From: ShellTear Date: Thu, 17 Mar 2022 16:24:02 +0200 Subject: [PATCH] Update dependencies and add optimization. --- Cargo.toml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 458e223..eadbadb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" [dependencies] lazy_static = "1.4.0" -wasm-bindgen = "0.2" -vfs = "0.6.0" -rusty_express = "^0.3.0" +wasm-bindgen = "0.2.79" +vfs = "0.6.2" +rusty_express = "0.4.3" rand = "0.8.5" -reqwest = { version = "0.11.0", features = ["blocking", "json"] } -serde_json = "1.0" +reqwest = { version = "0.11.10", features = ["blocking", "json"] } +serde_json = "1.0.79" rust-crypto = "0.2.36" [lib] @@ -23,3 +23,9 @@ path = "src/bin/main.rs" [[bin]] name = "wasm" path = "src/wasm/main.rs" + +[profile.release] +opt-level = 3 +lto = "fat" +panic = "abort" +codegen-units = 1