From 65429b01f5e624e5afdc4e87d6773ec7815d9a52 Mon Sep 17 00:00:00 2001 From: xzeldon Date: Fri, 13 Sep 2024 01:34:05 +0300 Subject: [PATCH] chore: faster dev builds --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3d78161..84dc923 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,13 @@ lto = "fat" codegen-units = 1 opt-level = 3 +# Faster builds, slower executables +[profile.dev] +opt-level = 0 +lto = false +incremental = true +codegen-units = 16 + [dependencies] # Communicate with HID devices hidapi = "2.6.3"