diff --git a/filtermail/Cargo.toml b/filtermail/Cargo.toml index 26194a67..feb6daa2 100644 --- a/filtermail/Cargo.toml +++ b/filtermail/Cargo.toml @@ -26,3 +26,8 @@ env_logger = "0.11.8" [dev-dependencies] rstest = "0.26.1" testresult = "0.4.1" + +# The profile that 'dist' will build with +[profile.dist] +inherits = "release" +lto = "thin" diff --git a/filtermail/dist-workspace.toml b/filtermail/dist-workspace.toml new file mode 100644 index 00000000..409b3761 --- /dev/null +++ b/filtermail/dist-workspace.toml @@ -0,0 +1,11 @@ +[workspace] +members = ["cargo:."] + +# Config for 'dist' +[dist] +# The preferred dist version to use in CI (Cargo.toml SemVer syntax) +cargo-dist-version = "0.30.3" +# The installers to generate for each app +installers = [] +# Target platforms to build apps for (Rust target-triple syntax) +targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]