Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (88 loc) · 3.5 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (88 loc) · 3.5 KB
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
[workspace]
resolver = "3"
members = [
"crates/xtask",
"crates/yas",
"crates/guest",
"crates/fssync",
"crates/git",
"crates/lsp",
"crates/composite-transport",
"crates/uplink",
"crates/terminal-model",
"crates/alacritty-driver",
"crates/server",
"crates/edge",
"crates/browser",
"crates/client",
"crates/cli",
"crates/fonts",
"crates/webserver",
"crates/webrtc-forwarder",
"crates/compositor",
"crates/proxy",
"crates/runtime-dir",
"crates/sd-notify",
"crates/ssh",
"crates/desktop",
"crates/website",
]
# A path dependency living under the workspace root would otherwise become an
# implicit member, so `--workspace` clippy/test/fmt runs would lint, test, and
# reformat third-party code we only consume.
exclude = [
"vendor/cros-codecs",
"vendor/wayland-backend",
"vendor/yas-alacritty-terminal",
"extensions",
]
[workspace.package]
edition = "2024"
license = "MIT"
repository = "https://github.com/yas-run/yas"
homepage = "https://yas.run"
[workspace.dependencies]
# The crates that make TLS or uplink crypto (yas-uplink, yas-webrtc-forwarder,
# yas-proxy, yas-client) come without their default features here: each member
# that uses one names its crypto provider, `ring` or `aws-lc-rs`.
yas-wire = { version = "0.5.3", path = "crates/yas" }
yas-guest = { version = "0.5.3", path = "crates/guest" }
yas-fssync = { version = "0.5.3", path = "crates/fssync" }
yas-git = { version = "0.5.3", path = "crates/git" }
yas-lsp = { version = "0.5.3", path = "crates/lsp" }
yas-composite-transport = { version = "0.5.3", path = "crates/composite-transport" }
yas-uplink = { version = "0.5.3", path = "crates/uplink", default-features = false }
yas-terminal-model = { version = "0.5.3", path = "crates/terminal-model" }
yas-terminal-driver = { version = "0.5.3", path = "crates/alacritty-driver" }
yas-fonts = { version = "0.5.3", path = "crates/fonts" }
yas-webserver = { version = "0.5.3", path = "crates/webserver" }
yas-server = { version = "0.5.3", path = "crates/server", default-features = false }
# Without its browser UI by default: yas-cli turns it on (its `ui` feature).
yas-edge = { version = "0.5.3", path = "crates/edge", default-features = false }
yas-proxy = { version = "0.5.3", path = "crates/proxy", default-features = false }
yas-webrtc-forwarder = { version = "0.5.3", path = "crates/webrtc-forwarder", default-features = false }
yas-compositor = { version = "0.5.3", path = "crates/compositor" }
yas-runtime-dir = { version = "0.5.3", path = "crates/runtime-dir" }
yas-sd-notify = { version = "0.5.3", path = "crates/sd-notify" }
yas-ssh = { version = "0.5.3", path = "crates/ssh" }
yas-desktop = { version = "0.5.3", path = "crates/desktop" }
yas-client = { version = "0.5.3", path = "crates/client", default-features = false }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[profile.profiling]
inherits = "release"
debug = true
strip = false
lto = false
codegen-units = 16
# wayland-backend broadcasts wl_registry.global_remove to every client, without
# consulting the global's `can_view` filter -- unlike all three paths that send
# wl_registry.global. yas publishes one owner-filtered wl_output per toplevel,
# so closing any window told every *other* client to remove a global it had
# never been shown. xwayland-satellite unwraps that lookup and panics, taking
# X11 down with it. Still present in 0.3.17; see vendor/wayland-backend.
[patch.crates-io]
wayland-backend = { path = "vendor/wayland-backend" }