Skip to content

Commit

Permalink
cargo: Add release profile
Browse files Browse the repository at this point in the history
  • Loading branch information
XuShaohua committed Jun 8, 2024
1 parent fba3ffe commit a2f3f79
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ authors = ["Xu Shaohua <[email protected]>"]
description = "Distributed in-memory cache service"
edition = "2021"
categories = [
"concurrency",
"network-programming",
"concurrency",
"network-programming",
]
keywords = [
"cache",
"distributed",
"memory",
"redis",
"cache",
"distributed",
"memory",
"redis",
]
repository = "https://github.com/xushaohua/tasha"
homepage = "https://github.com/xushaohua/tasha"
Expand All @@ -35,3 +35,8 @@ toml = "0.8.14"

[target.'cfg(unix)'.dependencies]
nc = "0.8.21"

[profile.release]
codegen-units = 1
lto = true
opt-level = 3

0 comments on commit a2f3f79

Please sign in to comment.