Skip to content

Commit

Permalink
Optimize build performance and update dependencies
Browse files Browse the repository at this point in the history
Increased `codegen-units` to 16 in release profile for faster builds. Updated `flatbuffers` to version 24.12.23 to include the latest enhancements and fixes. Ensured other dependencies remain consistent for compatibility.
  • Loading branch information
arkavo-com committed Jan 3, 2025
1 parent b51aa2e commit 2accdb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "src/bin/main.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
codegen-units = 16

[profile.bench]
lto = true
Expand All @@ -42,7 +42,7 @@ ink = "5.0.0"
jsonwebtoken = "9.3.0"
async-nats = "0.38.0"
redis = { version = "0.27.2", features = ["tokio-comp"] }
flatbuffers = "24.3.25"
flatbuffers = "24.12.23"
scale = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = ["derive"] }
scale-info = { version = "2.11.3", default-features = false, features = ["derive"], optional = true }
bs58 = "0.5.1"
Expand Down

0 comments on commit 2accdb1

Please sign in to comment.