diff --git a/Cargo.toml b/Cargo.toml index 8512887..0280b8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,6 +77,14 @@ ssr = [ "dep:worker-macros", ] +# https://doc.rust-lang.org/stable/cargo/guide/build-performance.html#reduce-amount-of-generated-debug-information +[profile.dev] +debug = "line-tables-only" + +# Avoid generating any debug information for dependencies +[profile.dev.package."*"] +debug = false + [profile.release] lto = true opt-level = 's' diff --git a/rust-toolchain.toml b/rust-toolchain.toml index b4903ce..fbc0bfb 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.91.0" +channel = "1.92.0" components = ["clippy", "rustfmt"] targets = ["wasm32-unknown-unknown"]