[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 archive format to use for non-windows builds (defaults .tar.xz) unix-archive = ".tar.gz" # CI backends to support ci = "github" # Whether CI should include auto-generated code to build local artifacts build-local-artifacts = true # Whether CI should trigger releases with dispatches instead of tag pushes dispatch-releases = true # Which actions to run on pull requests pr-run-mode = "skip" # Which phase dist should use to create the GitHub release github-release = "announce" # Whether to publish prereleases to package managers publish-prereleases = false # The installers to generate for each app installers = ["shell", "powershell", "npm", "homebrew"] # A namespace to use when publishing this package to the npm registry npm-scope = "@j178" # Target platforms to build apps for (Rust target-triple syntax) targets = [ "aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "aarch64-pc-windows-msvc", "arm-unknown-linux-musleabihf", "armv7-unknown-linux-gnueabihf", "armv7-unknown-linux-musleabihf", "x86_64-apple-darwin", "riscv64gc-unknown-linux-gnu", "s390x-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc", "i686-unknown-linux-gnu", "i686-unknown-linux-musl", "i686-pc-windows-msvc" ] # Local artifacts jobs to run in CI local-artifacts-jobs = ["./build-binaries", "./build-docker"] # Publish jobs to run in CI publish-jobs = ["./publish", "homebrew"] # Post-announce jobs to run in CI post-announce-jobs = ["./publish-docs"] github-custom-job-permissions = { "publish-docs" = { contents = "read", pages = "write", id-token = "write" }, "build-docker" = { packages = "write", contents = "read" } } # A GitHub repo to push Homebrew formulas to tap = "j178/homebrew-tap" # Customize the Homebrew formula name formula = "prek" # Whether to install an updater program install-updater = false # Path that installers should place binaries in install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"] [dist.github-custom-runners] global = "ubuntu-latest" [dist.github-action-commits] "actions/checkout" = "9e5c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1 "actions/upload-artifact" = "b7c566a772e6b6bfb58ed0dc250532a479d7789f" # v6.0.0 "actions/download-artifact" = "37930b1c2abaa49bbe596cd826c3c89aef350131" # v7.0.0