team-ljyzipelo

공개
66줄2.0 KB
1[package]
2name = "zipelo-ui-memory-app"
3version = "0.1.0"
4edition = "2024"
5rust-version = "1.99"
6license = "MIT"
7publish = false
8autotests = false
9
10[workspace]
11
12[lib]
13doctest = false
14
15[features]
16default = []
17ui = ["dep:eframe", "dep:wgpu", "dep:rfd", "dep:ashpd", "dep:pollster"]
18ui-fixture = ["ui"]
19
20[dependencies]
21worker_protocol = { package = "zipelo-archive-worker", path = "../rust-archive-worker" }
22core_memory = { package = "zipelo-app-core-memory", path = "../rust-app-core-memory" }
23eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["accesskit", "clipboard", "glow", "system_fonts", "wayland", "x11"] }
24
25[[bin]]
26name = "zipelo-ui-memory-app"
27path = "src/desktop.rs"
28required-features = ["ui"]
29
30[[test]]
31name = "ui_memory"
32path = "../../tests/rust-ui-memory-app/regressions.rs"
33
34[[test]]
35name = "archive_ui"
36path = "../../tests/rust-app-ui/regressions.rs"
37
38[[test]]
39name = "real_worker"
40path = "../../tests/rust-app-real-worker/flows.rs"
41
42[[test]]
43name = "format_contract"
44path = "../../tests/rust-app-real-worker/formats.rs"
45
46[target.'cfg(target_os = "linux")'.dependencies]
47ashpd = { version = "=0.11.1", optional = true, default-features = false, features = ["async-std"] }
48pollster = { version = "=0.4.0", optional = true }
49rfd = { version = "=0.16.0", optional = true, default-features = false, features = ["xdg-portal", "async-std"] }
50
51[target.'cfg(not(target_os = "linux"))'.dependencies]
52rfd = { version = "=0.16.0", optional = true, default-features = false }
53
54[target.'cfg(target_os = "windows")'.dependencies]
55wgpu = { version = "=30.0.1", optional = true, default-features = false, features = ["std", "dx12"] }
56eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["wgpu_no_default_features"] }
57
58[[test]]
59name = "renderer_fallback"
60path = "../../tests/rust-app-ui/renderer_fallback.rs"
61required-features = ["ui"]
62
63[[bin]]
64name = "zipelo-ui-capture"
65path = "../../tests/rust-app-ui/capture.rs"
66required-features = ["ui-fixture"]