Skip to content

Commit

Permalink
build: sqlx update not possible due to performance regressions
Browse files Browse the repository at this point in the history
Update to 0.6.1 isn't possible right now due to massive increase in
compile time and memory usage. The core build uses 30GB after a few
minutes! With 0.5.13 the build takes less than a minute and < 2GB.

See launchbadge/sqlx#1921
Possible fix with launchbadge/sqlx#1946
  • Loading branch information
zehnm committed Aug 7, 2022
1 parent fa6f628 commit c8d41e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ regex = "1"
lazy_static = "1"

[dependencies.sqlx]
# ATTENTION: 0.6.1 is broken! Compilation takes forever and uses massive amounts of RAM. At 30 GB I killed it...
# Issue: https://github.com/launchbadge/sqlx/issues/1921
# Possible PR: https://github.com/launchbadge/sqlx/pull/1946
version = "0.5"
default-features = false
features = [
Expand Down

0 comments on commit c8d41e9

Please sign in to comment.