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