30 lines
1.1 KiB
TOML
30 lines
1.1 KiB
TOML
[workspace]
|
|
members = ["cargo:."]
|
|
|
|
# Config for 'dist'
|
|
[dist]
|
|
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
|
|
cargo-dist-version = "0.30.2"
|
|
# CI backends to support
|
|
ci = "github"
|
|
# The installers to generate for each app
|
|
installers = ["shell", "powershell", "npm", "homebrew", "msi"]
|
|
# A GitHub repo to push Homebrew formulas to
|
|
tap = "continuwuity/homebrew-matrix-user-swap"
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
|
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
|
|
# Path that installers should place binaries in
|
|
install-path = "CARGO_HOME"
|
|
# Publish jobs to run in CI
|
|
publish-jobs = ["homebrew"]
|
|
# Whether to install an updater program
|
|
install-updater = true
|
|
|
|
github-build-setup = "dist-ci/build-setup.yml"
|
|
# Features to pass to cargo build
|
|
features = ["bundled"]
|
|
# A namespace to use when publishing this package to the npm registry
|
|
npm-scope = "@continuwuity"
|
|
|
|
[dist.dependencies.chocolatey]
|
|
sqlite = { version = '3.50.4', targets = ["aarch64-pc-windows-msvc", "x86_64-pc-windows-msvc"] }
|