diff --git a/Cargo.toml b/Cargo.toml index 88caabc..633b959 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,3 +2,11 @@ default-members = ["kubectl-watch"] members = ["kubectl-watch", "difftastic-lib"] resolver = "2" + +[profile.release] +# Release builds don't have debug symbols by default. We explicitly +# set this flag so it's easier to toggle when profiling with +# flamegraph. +# +# https://doc.rust-lang.org/cargo/reference/profiles.html#release +debug = false diff --git a/difftastic-lib/Cargo.toml b/difftastic-lib/Cargo.toml index a4d1269..3369525 100644 --- a/difftastic-lib/Cargo.toml +++ b/difftastic-lib/Cargo.toml @@ -5,9 +5,16 @@ repository = "https://github.com/imuxin/difftastic-lib" homepage = "http://difftastic.wilfred.me.uk/" license = "MIT" version = "0.0.2" -authors = ["Wilfred Hughes ", "chengqinglin "] +authors = [ + "Wilfred Hughes ", + "chengqinglin ", +] keywords = ["diff", "syntax"] -categories = ["development-tools", "command-line-utilities", "parser-implementations"] +categories = [ + "development-tools", + "command-line-utilities", + "parser-implementations", +] edition = "2021" include = [ "/build.rs", @@ -57,14 +64,6 @@ cc = "1.0.73" rayon = "1.5.2" version_check = "0.9.4" -[profile.release] -# Release builds don't have debug symbols by default. We explicitly -# set this flag so it's easier to toggle when profiling with -# flamegraph. -# -# https://doc.rust-lang.org/cargo/reference/profiles.html#release -# debug = false - [[bin]] name = "difft" path = "src/main.rs"