49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[workspace]
|
|
exclude = ["vendor/gpui"]
|
|
members = [
|
|
"crates/clipbin-core",
|
|
"crates/clipbin-desktop",
|
|
"crates/clipbin-media",
|
|
"crates/clipbin-obs",
|
|
"crates/clipbin-probe",
|
|
"crates/rig-pointer",
|
|
]
|
|
default-members = ["crates/clipbin-desktop"]
|
|
resolver = "3"
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.98"
|
|
license = "GPL-3.0-only"
|
|
repository = "https://git.bayliss.cloud/harry/clipbin-desktop"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
clipbin-core = { path = "crates/clipbin-core" }
|
|
clipbin-media = { path = "crates/clipbin-media" }
|
|
clipbin-obs = { path = "crates/clipbin-obs" }
|
|
gpui = "=0.2.2"
|
|
# The tested OBS set: the libobs crate's bundled headers are OBS 32.0.4, matching
|
|
# scripts/obs/versions.env. Update them together.
|
|
libobs = "=5.0.1"
|
|
|
|
[workspace.lints.rust]
|
|
unsafe_code = "forbid"
|
|
|
|
[profile.dev]
|
|
debug = 1
|
|
|
|
# GPUI is far too slow to use unoptimised; optimise dependencies even in dev
|
|
# builds (our own crates stay quick to rebuild).
|
|
[profile.dev.package."*"]
|
|
opt-level = 2
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = "debuginfo"
|
|
|
|
[patch.crates-io]
|
|
gpui = { path = "vendor/gpui" }
|