diff --git a/Cargo.toml b/Cargo.toml index 26349fd..52eb502 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,4 +11,10 @@ license-file = "LICENSE" [dependencies] clap = "2.33.3" rand = "0.8.3" -walkdir = "2.3.1" \ No newline at end of file +walkdir = "2.3.1" + +[profile.release] +opt-level = 'z' # optimize for size +lto = true +codegen-units = 1 +panic = 'abort' \ No newline at end of file