| 1 | [package] |
| 2 | name = "zipelo-ui-memory-app" |
| 3 | version = "0.1.0" |
| 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"] |
| 18 | ui-fixture = ["ui"] |
| 19 | |
| 20 | [dependencies] |
| 21 | worker_protocol = { package = "zipelo-archive-worker", path = "../rust-archive-worker" } |
| 22 | core_memory = { package = "zipelo-app-core-memory", path = "../rust-app-core-memory" } |
| 23 | eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["accesskit", "clipboard", "glow", "system_fonts", "wayland", "x11"] } |
| 24 | |
| 25 | [[bin]] |
| 26 | name = "zipelo-ui-memory-app" |
| 27 | path = "src/desktop.rs" |
| 28 | required-features = ["ui"] |
| 29 | |
| 30 | [[test]] |
| 31 | name = "ui_memory" |
| 32 | path = "../../tests/rust-ui-memory-app/regressions.rs" |
| 33 | |
| 34 | [[test]] |
| 35 | name = "archive_ui" |
| 36 | path = "../../tests/rust-app-ui/regressions.rs" |
| 37 | |
| 38 | [[test]] |
| 39 | name = "real_worker" |
| 40 | path = "../../tests/rust-app-real-worker/flows.rs" |
| 41 | |
| 42 | [[test]] |
| 43 | name = "format_contract" |
| 44 | path = "../../tests/rust-app-real-worker/formats.rs" |
| 45 | |
| 46 | [target.'cfg(target_os = "linux")'.dependencies] |
| 47 | ashpd = { version = "=0.11.1", optional = true, default-features = false, features = ["async-std"] } |
| 48 | pollster = { version = "=0.4.0", optional = true } |
| 49 | rfd = { version = "=0.16.0", optional = true, default-features = false, features = ["xdg-portal", "async-std"] } |
| 50 | |
| 51 | [target.'cfg(not(target_os = "linux"))'.dependencies] |
| 52 | rfd = { version = "=0.16.0", optional = true, default-features = false } |
| 53 | |
| 54 | [target.'cfg(target_os = "windows")'.dependencies] |
| 55 | wgpu = { version = "=30.0.1", optional = true, default-features = false, features = ["std", "dx12"] } |
| 56 | eframe = { version = "=0.37.0", optional = true, default-features = false, features = ["wgpu_no_default_features"] } |
| 57 | |
| 58 | [[test]] |
| 59 | name = "renderer_fallback" |
| 60 | path = "../../tests/rust-app-ui/renderer_fallback.rs" |
| 61 | required-features = ["ui"] |
| 62 | |
| 63 | [[bin]] |
| 64 | name = "zipelo-ui-capture" |
| 65 | path = "../../tests/rust-app-ui/capture.rs" |
| 66 | required-features = ["ui-fixture"] |