perf(lto): enable link-time optimization (#371)

Co-authored-by: Paul Makles <me@insrt.uk>
This commit is contained in:
Kirill Mironov
2024-12-17 20:23:15 +03:00
committed by GitHub
parent 3cb91151ca
commit 42367f477c
2 changed files with 7 additions and 0 deletions

2
.gitignore vendored
View File

@@ -7,3 +7,5 @@ target
.vercel
.DS_Store
.idea

View File

@@ -13,3 +13,8 @@ members = [
[patch.crates-io]
redis22 = { package = "redis", version = "0.22.3", git = "https://github.com/revoltchat/redis-rs", rev = "1a41faf356fd21aebba71cea7eb7eb2653e5f0ef" }
redis23 = { package = "redis", version = "0.23.1", git = "https://github.com/revoltchat/redis-rs", rev = "f8ca28ab85da59d2ccde526b4d2fb390eff5a5f9" }
# authifier = { package = "authifier", version = "1.0.8", path = "../authifier/crates/authifier" }
# rocket_authifier = { package = "rocket_authifier", version = "1.0.8", path = "../authifier/crates/rocket_authifier" }
[profile.release]
lto = true