dont use default features for argon2, dev build speedup

this seems to reduce a few crates when building

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-02 16:45:13 -05:00 committed by June
parent c7d950a52c
commit 103df55a43

View file

@ -46,7 +46,7 @@ serde = { version = "1.0.197", features = ["rc"] }
# Used for secure identifiers
rand = "0.8.5"
# Used to hash passwords
argon2 = "0.5.3"
argon2 = { version = "0.5.3", features = ["alloc", "rand"], default-features = false }
reqwest = { version = "0.11.24", default-features = false, features = ["rustls-tls-native-roots", "socks"] }
# Used for conduit::Error type
thiserror = "1.0.57"
@ -171,6 +171,10 @@ systemd-units = { unit-name = "matrix-conduit" }
debug = 0
lto = 'off'
incremental = true
# seems to speed up continuous debug compilations
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
# default release profile
[profile.release]