-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
74 lines (63 loc) · 2.07 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
[workspace]
members = ["crates/*", "plugins/*"]
resolver = "2"
[workspace.package]
repository = "https://github.com/arlyon/litehouse"
authors = ["Alexander Lyon <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A lightweight home automation server"
homepage = "https://litehouse.arlyon.dev"
[profile.release]
strip = true
opt-level = "z"
panic = "abort"
lto = "thin"
[profile.release-with-debug]
inherits = "release"
debug = true
strip = false
lto = false
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
[patch.crates-io]
opendal = { git = "https://github.com/apache/opendal", rev = "4d5df20" }
[workspace.metadata.groups]
plugins = ["path:plugins/*"]
bin = ["path:crates/litehouse", "path:crates/cockpit"]
# Config for 'cargo dist'
[workspace.metadata.dist]
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci", "msi"]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.16.7"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew", "msi"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
# "aarch64-unknown-linux-gnu", disabled until flatc is updated
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
# "x86_64-pc-windows-msvc", # disabled until flatc is updated
]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Whether to install an updater program
install-updater = true
# Cache provider for builds. Can be one of github or buildjet.
cache-provider = "buildjet"
[workspace.metadata.dist.github-custom-runners]
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
aarch64-unknown-linux-musl = "buildjet-8vcpu-ubuntu-2204-arm"
x86_64-pc-windows-msvc = "windows-2022"
x86_64-unknown-linux-gnu = "ubuntu-24.04"
[workspace.metadata.dist.dependencies.homebrew]
flatbuffers = '*'
[workspace.metadata.dist.dependencies.apt]
flatbuffers-compiler = '*'
[workspace.metadata.dist.dependencies.chocolatey]
flatc = '*'