diff --git a/Cargo.toml b/Cargo.toml index 98b8405b..e0999014 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,6 +77,12 @@ passthrough-decoder = ["librespot-playback/passthrough-decoder"] default = ["rodio-backend"] +[profile.release-dist-optimized] +inherits = "release" +panic = "abort" +codegen-units = 1 +lto = true + [package.metadata.deb] maintainer = "librespot-org" copyright = "2018 Paul LiƩtar"