[workspace] members = ["cargo:."] # Config for 'dist' [dist] # The preferred dist version to use in CI (Cargo.toml SemVer syntax) cargo-dist-version = "0.32.0" # CI backends to support ci = "github" # The installers to generate for each app installers = ["shell", "powershell", "msi"] # Target platforms to build apps for (Rust target-triple syntax) targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"] # Path that installers should place binaries in install-path = "CARGO_HOME" # Whether to install an updater program install-updater = false # Extra static files to include in each App (path relative to this Cargo.toml's dir) include = ["./man/", "./shell/"] # Plan jobs to run in CI plan-jobs = ["./test"] # Global artifacts jobs to run in CI global-artifacts-jobs = ["./package"] # Publish jobs to run in CI publish-jobs = ["./publish", "./winget", "./apt"] # Whether to publish prereleases to package managers publish-prereleases = true [dist.github-custom-job-permissions.test] contents = "write" id-token = "write" [dist.github-custom-job-permissions.apt] contents = "write" id-token = "write"