| Bring vidya in cfd3e36 nandi 19d ago | 1 | [package] |
| 2 | name = "vidya" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Vidya — GNOME/HIG-inspired theme layer for egui (no GTK)" |
| 6 | license = "MIT" |
| 7 | repository = "https://tangled.org/nandi.uk/vidya" |
| 8 | keywords = ["egui", "theme", "gui", "vidya"] |
| 9 | categories = ["gui"] |
| 10 | readme = "README.md" |
| 11 | |
| 12 | [features] |
| 13 | default = [] |
| 14 | # Muted H.264-in-MP4 decode for [`video_player`] (openh264 + mp4 demux). |
| 15 | video = ["dep:openh264", "dep:mp4"] |
| 16 | |
| 17 | [dependencies] |
| 18 | egui = { version = "0.31", default-features = false } |
| 19 | # Decode bundled Twemoji PNGs for color reaction icons. |
| 20 | png = "0.17" |
| 21 | # Read the full Twemoji pack (`assets/emoji/twemoji-72x72.zip`). |
| 22 | zip = { version = "2", default-features = false, features = ["deflate"] } |
| 23 | # Optional: H.264 decode for chat / embed video previews. |
| 24 | openh264 = { version = "0.9", optional = true, default-features = false, features = ["source"] } |
| 25 | mp4 = { version = "0.14", optional = true } |
| 26 | |
| 27 | # `sync_system_chrome_from_android` reads insets off the NativeActivity handle, |
| 28 | # so the theme layer needs winit's Android glue — but only there. |
| 29 | [target.'cfg(target_os = "android")'.dependencies] |
| 30 | winit = { version = "0.30", default-features = false, features = ["android-native-activity"] } |