-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
94 lines (85 loc) · 2.12 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
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
authors = [ "Dan Sully <[email protected]>" ]
build = "build.rs"
categories = [
"command-line-utilities",
"config",
"os::macos-apis",
]
description = "Defaults setting for macOS"
edition = "2021"
homepage = "https://github.com/dsully/macos-defaults"
keywords = [ "macos", "user", "defaults", "declarative", "yaml" ]
license = "MIT"
name = "macos-defaults"
readme = "README.md"
repository = "https://github.com/dsully/macos-defaults"
version = "0.2.0"
[dependencies]
camino = "1.1.9"
clap = { version = "~4.5.17", features = [
"cargo",
"color",
"derive",
"suggestions",
"wrap_help",
] }
clap-verbosity-flag = "2.2.1"
clap_complete = "4.5.28"
color-eyre = "0.6.3"
colored = "2.1.0"
dirs = "5.0.1"
duct = "0.13.7"
env_logger = "0.11.5"
hex = "0.4.3"
itertools = "0.13.0"
log = "0.4.22"
plist = "1.7.0"
serde = { version = "1.0.210", features = [ "derive" ] }
serde_yaml = "0.9.34"
shadow-rs = { version = "0.35.0", default-features = false }
sysinfo = "0.31.4"
thiserror = "1.0.63"
yaml-rust = "0.4.5"
yaml-split = "0.4.0"
[dev-dependencies]
testresult = "0.4.1"
[build-dependencies]
shadow-rs = { version = "0.35.0", default-features = false }
[lints.clippy]
pedantic = "deny"
# 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 = [ "homebrew" ]
# A GitHub repo to push Homebrew formulas to
tap = "dsully/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = [ "aarch64-apple-darwin" ]
# Publish jobs to run in CI
publish-jobs = [ "homebrew" ]
# Which actions to run on pull requests
pr-run-mode = "plan"
# Use Apple Silicon runners.
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"
# The profile that 'cargo dist' will build with
[profile.dist]
codegen-units = 1
debug = false
incremental = false
inherits = "release"
lto = true
opt-level = 3
panic = "abort"
strip = "none"
[profile.dev]
debug = 0
[profile.release]
codegen-units = 1
lto = true
panic = "abort"