team-ljyzipelo

공개
77줄2.9 KB
1[package]
2name = "zipelo-ui-memory-app"
3version = "0.2.1"
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", "dep:wayland-client", "dep:wayland-backend", "dep:raw-window-handle", "dep:x11rb", "dep:x11-dl", "dep:windows-sys"]
18ui-fixture = ["ui"]
19
20[dependencies]
21sha2 = "=0.10.9"
22worker_protocol = { package = "zipelo-archive-worker", path = "../rust-archive-worker" }
23eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["accesskit", "clipboard", "glow", "system_fonts", "wayland", "x11"] }
24
25# 창 밖으로 끌어 놓기에서 창 핸들을 얻을 때 씀(eframe과 같은 버전).
26raw-window-handle = { version = "=0.6.2", optional = true }
27
28[[bin]]
29name = "zipelo-ui-memory-app"
30path = "src/desktop.rs"
31required-features = ["ui"]
32
33[[test]]
34name = "archive_ui"
35path = "../../tests/rust-app-ui/regressions.rs"
36
37[[test]]
38name = "real_worker"
39path = "../../tests/rust-app-real-worker/flows.rs"
40
41[[test]]
42name = "format_contract"
43path = "../../tests/rust-app-real-worker/formats.rs"
44
45[target.'cfg(target_os = "linux")'.dependencies]
46ashpd = { version = "=0.11.1", optional = true, default-features = false, features = ["async-std"] }
47pollster = { version = "=0.4.0", optional = true }
48# 창 밖으로 끌어 놓기(Wayland wl_data_device). eframe/winit이 이미 쓰는 같은 버전을 씀.
49wayland-client = { version = "=0.31.15", optional = true }
50wayland-backend = { version = "=0.3.17", optional = true, features = ["client_system"] }
51x11rb = { version = "=0.13.2", optional = true }
52x11-dl = { version = "=2.21.0", optional = true }
53rfd = { version = "=0.16.0", optional = true, default-features = false, features = ["xdg-portal", "async-std"] }
54
55[target.'cfg(not(target_os = "linux"))'.dependencies]
56rfd = { version = "=0.16.0", optional = true, default-features = false }
57
58[target.'cfg(target_os = "windows")'.dependencies]
59wgpu = { version = "=30.0.1", optional = true, default-features = false, features = ["std", "dx12"] }
60# 창 밖으로 끌어 놓기(지연 제공 IDataObject와 SHDoDragDrop).
61windows-sys = { version = "=0.61.2", optional = true, features = ["Win32_Foundation", "Win32_System_Com", "Win32_System_Memory", "Win32_System_Ole", "Win32_System_Threading", "Win32_UI_Shell", "Win32_UI_Input_KeyboardAndMouse", "Win32_UI_WindowsAndMessaging"] }
62eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["wgpu_no_default_features"] }
63
64[[test]]
65name = "renderer_fallback"
66path = "../../tests/rust-app-ui/renderer_fallback.rs"
67required-features = ["ui"]
68
69[[bin]]
70name = "zipelo-ui-capture"
71path = "../../tests/rust-app-ui/capture.rs"
72required-features = ["ui-fixture"]
73
74[[test]]
75name = "ui_scenarios"
76path = "../../tests/rust-app-ui/scenario_tests.rs"
77required-features = ["ui-fixture"]