-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
81 lines (71 loc) · 2.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[workspace.package]
name = "Super ScreenShot"
version = "0.0.2"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["SergioRibera"]
repository = "https://github.com/SergioRibera/sss"
homepage = "https://github.com/SergioRibera/sss"
[workspace]
resolver = "2"
members = ["crates/sss_lib", "crates/sss_cli", "crates/sss_code"]
[profile.dev]
opt-level = 1
incremental = true
[profile.release]
strip = true
lto = "thin"
panic = 'abort'
opt-level = 3
codegen-units = 1
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[workspace.dependencies]
thiserror = "1"
serde = { version = "1.0.210", features = ["serde_derive"] }
toml = "0.8.8"
merge2 = "0.3.0"
directories = "5.0.1"
clap = { version = "4.5.17", features = [
"derive",
"color",
"env",
"suggestions",
"wrap_help",
] }
tracing = "0.1.40"
color-eyre = { version = "0.6.3", features = ["issue-url"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
[patch.crates-io]
mouse_position = { git = "https://github.com/SergioRibera/mouse_position", branch = "compositors_protocols" }
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.22.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew", "msi"]
# A GitHub repo to push Homebrew formulas to
tap = "SergioRibera/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Which actions to run on pull requests
pr-run-mode = "skip"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
[workspace.metadata.dist.github-custom-runners]
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
aarch64-unknown-linux-musl = "buildjet-8vcpu-ubuntu-2204-arm"
[workspace.metadata.dist.dependencies.apt]
libfontconfig1 = "*"
libfreetype6 = "*"
libxcb1 = "*"
libxrandr2 = "*"
libdbus-1-3 = "*"