feat: set up for GitHub releases

This commit is contained in:
Harsh Shandilya 2023-05-11 13:37:23 +05:30
parent 2817eefa30
commit a6f9253a4b
No known key found for this signature in database
4 changed files with 166 additions and 2 deletions

View file

@ -2,7 +2,7 @@
name = "gitice"
version = "1.0.0"
authors = ["Harsh Shandilya <me@msfjarvis.dev>", "Amogh Lele <amolele@gmail.com>"]
edition = "2018"
edition = "2021"
description = "Freeze your local git repositories for easy restoration"
repository = "https://github.com/msfjarvis/gitice"
homepage = "https://github.com/msfjarvis/gitice"
@ -10,6 +10,7 @@ license = "MIT/Apache-2.0"
keywords = ["git", "snapshot", "backup", "restore"]
readme = "README.md"
include = ["src/**/*", "LICENSE-*", "README.md"]
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -26,3 +27,21 @@ walkdir = "2.3.3"
[badges]
maintenance = { status = "actively-developed" }
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.0.6"
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "nightly-2023-02-22"
# CI backends to support (see 'cargo dist generate-ci')
ci = ["github"]
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-darwin"]