Skip to content

Commit

Permalink
Merge pull request #11 from SheIITear/main
Browse files Browse the repository at this point in the history
Update deps and optimize compiling.
  • Loading branch information
AlenVelocity authored Mar 17, 2022
2 parents ef3170f + 8f46ab2 commit 7d14283
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build:
cargo build --release --bin ethereal
RUSTFLAGS="-C target-cpu=native" cargo build --release --bin ethereal

build-wasm:
cargo build --release --bin wasm --target wasm32-unknown-unknown
Expand Down

0 comments on commit 7d14283

Please sign in to comment.