[package] authors = ["Fatih Aziz ", "github.com/fatihaziz"] description = "A utility to sort environment variables on Windows." edition = "2021" license = "Apache-2.0" name = "rust-env-sorter" version = "0.1.1" [[bin]] name = "env-sorter-rs" path = "src/main.rs" [features] default = ["windows-only"] windows-only = [] [profile.dev] # Set codegen-units to the number of CPU cores to maximize parallelism. # codegen-units = 512 debug = false debug-assertions = true # Keep debug assertions in dev for safety checks. # incremental = true # Incremental compilation for faster rebuilds. lto = false # Thin LTO could be enabled for better optimization with parallel code generation. opt-level = 0 # Keep opt-level low in dev for faster compile times. overflow-checks = true # Package-specific profiles are usually used for fine-tuning individual dependencies. # These settings will override the above settings for all packages. [profile.dev.package.'*'] # codegen-units = 512 debug = 0 debug-assertions = false # incremental = true opt-level = 2 # A higher opt-level for dependencies might be beneficial. overflow-checks = false [profile.dev.build-override] # This section is used to override build script settings. opt-level = 2 # Optimize build scripts more aggressively. [profile.release] codegen-units = 512 # Maximize parallelism for release builds as well. debug = false debug-assertions = false incremental = false # Disable incremental compilation for release builds to optimize further. lto = "fat" # Enable fat LTO for maximum optimization across crates. opt-level = 3 # Maximum optimization. overflow-checks = false # Disable overflow checks for maximum performance. rpath = false [dependencies] color-eyre = {version = "0.6"}