mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 23:37:01 +05:30
fix(build): set up cargo-dist
This commit is contained in:
parent
3b8ff70546
commit
a7974185bf
3 changed files with 304 additions and 1 deletions
21
Cargo.toml
21
Cargo.toml
|
@ -7,7 +7,6 @@ description = "CLI tool to monitor clipboard changes and perform operations base
|
|||
repository = "https://github.com/msfjarvis/clipboard-substitutor"
|
||||
homepage = "https://github.com/msfjarvis/clipboard-substitutor"
|
||||
license = "MIT/Apache-2.0"
|
||||
publish = false
|
||||
keywords = []
|
||||
readme = "README.md"
|
||||
include = ["src/**/*", "LICENSE-*", "README.md"]
|
||||
|
@ -30,3 +29,23 @@ assay = "0.1.1"
|
|||
|
||||
[features]
|
||||
journald = ["tracing-journald"]
|
||||
|
||||
# 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.21.1"
|
||||
# CI backends to support
|
||||
ci = "github"
|
||||
# The installers to generate for each app
|
||||
installers = ["shell"]
|
||||
# Target platforms to build apps for (Rust target-triple syntax)
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
# Path that installers should place binaries in
|
||||
install-path = "CARGO_HOME"
|
||||
# Whether to install an updater program
|
||||
install-updater = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue