StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.
| 1 | [package] |
| 2 | name = "strato-platform" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | authors.workspace = true |
| 6 | license.workspace = true |
| 7 | repository.workspace = true |
| 8 | documentation.workspace = true |
| 9 | description = "Platform abstraction layer for StratoSDK framework" |
| 10 | |
| 11 | [dependencies] |
| 12 | strato-core = { workspace = true } |
| 13 | strato-renderer = { workspace = true } |
| 14 | strato-widgets = { workspace = true } |
| 15 | |
| 16 | # Math |
| 17 | glam.workspace = true |
| 18 | |
| 19 | # Platform |
| 20 | winit.workspace = true |
| 21 | raw-window-handle.workspace = true |
| 22 | |
| 23 | # Async |
| 24 | tokio = { workspace = true } |
| 25 | futures.workspace = true |
| 26 | |
| 27 | # Logging |
| 28 | tracing.workspace = true |
| 29 | |
| 30 | # Error handling |
| 31 | thiserror.workspace = true |
| 32 | anyhow.workspace = true |
| 33 | |
| 34 | # Async utilities |
| 35 | pollster = "0.3" |
| 36 | |
| 37 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
| 38 | wasm-bindgen.workspace = true |
| 39 | wasm-bindgen-futures.workspace = true |
| 40 | web-sys = { workspace = true, features = [ |
| 41 | "Document", |
| 42 | "Element", |
| 43 | "HtmlCanvasElement", |
| 44 | "Window", |
| 45 | "CssStyleDeclaration", |
| 46 | "EventTarget", |
| 47 | "MouseEvent", |
| 48 | "KeyboardEvent", |
| 49 | "WheelEvent", |
| 50 | "TouchEvent", |
| 51 | ]} |
| 52 | js-sys.workspace = true |
| 53 | console_error_panic_hook.workspace = true |
| 54 | |
| 55 | [features] |
| 56 | default = [] |
| 57 |