diff --git a/data/cargo/config.toml b/data/cargo/config.toml new file mode 100644 index 0000000..ccdee45 --- /dev/null +++ b/data/cargo/config.toml @@ -0,0 +1,4 @@ +# https://github.com/johnthagen/min-sized-rust +[profile.release] +strip = true +lto = true diff --git a/data/data.toml b/data/data.toml index ba39f76..ebba153 100644 --- a/data/data.toml +++ b/data/data.toml @@ -121,3 +121,7 @@ external = "~/.config/typos/typos.toml" [[apps.daktilo.paths]] internal = "data/daktilo/daktilo.toml" external = "~/.config/daktilo/daktilo.toml" + +[[apps.cargo.paths]] +internal = "data/cargo/config.toml" +external = "~/.cargo/config.toml" diff --git a/data/nvim/init.lua b/data/nvim/init.lua index e7c6299..8d7df65 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -454,7 +454,7 @@ require("lazy").setup({ lua = { "stylua" }, markdown = { "deno_fmt" }, proto = { "buf" }, - python = { "ruff_format", "ruff_organize_imports" }, + python = { "ruff_format" }, sh = { "shfmt" }, sql = { "sqlfluff" }, toml = { "trim_whitespace", "taplo" },