build speedup

This commit is contained in:
Daniel Bulant 2024-10-15 21:52:39 +02:00
parent 811ac8eebf
commit 2ccd472484
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

5
.cargo/config.toml Normal file
View file

@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-gnu]
# linker = "/usr/bin/clang-15"
rustflags = ["-C", "link-arg=--ld-path=/home/dan/.nix-profile/bin/mold"]
# rustflags = ["-C", "link-arg=-fuse-ld=/home/dan/.nix-profile/bin/mold"]

View file

@ -27,3 +27,7 @@ librespot-protocol = { git = "https://github.com/photovoltex/librespot.git", bra
futures-util = { version = "0.3", features = ["alloc", "bilock", "sink", "unstable"] }
rspotify = { version = "0.13.3" }
oauth2 = "4.4"
[profile.dev]
debug = 0
strip = "debuginfo"