StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.
| 1 | [package] |
| 2 | name = "strato-renderer" |
| 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 = "GPU-accelerated renderer for StratoSDK framework" |
| 10 | |
| 11 | [lib] |
| 12 | crate-type = ["rlib", "cdylib"] |
| 13 | |
| 14 | [dependencies] |
| 15 | strato-core = { workspace = true } |
| 16 | |
| 17 | # Rendering |
| 18 | wgpu.workspace = true |
| 19 | lyon.workspace = true |
| 20 | cosmic-text.workspace = true |
| 21 | image.workspace = true |
| 22 | bytemuck.workspace = true |
| 23 | |
| 24 | # Font Management |
| 25 | ab_glyph = "0.2" |
| 26 | fontdue = "0.9" |
| 27 | swash = "0.1" |
| 28 | |
| 29 | # Math |
| 30 | glam.workspace = true |
| 31 | euclid.workspace = true |
| 32 | palette.workspace = true |
| 33 | |
| 34 | # Platform |
| 35 | raw-window-handle.workspace = true |
| 36 | winit.workspace = true |
| 37 | |
| 38 | # Error handling |
| 39 | thiserror.workspace = true |
| 40 | anyhow.workspace = true |
| 41 | |
| 42 | # Logging |
| 43 | tracing.workspace = true |
| 44 | log = "0.4" |
| 45 | sys-locale = "0.3" |
| 46 | |
| 47 | # Collections |
| 48 | dashmap.workspace = true |
| 49 | slotmap.workspace = true |
| 50 | parking_lot.workspace = true |
| 51 | smallvec.workspace = true |
| 52 | |
| 53 | # Async and threading |
| 54 | tokio = { version = "1.0", features = ["full"] } |
| 55 | thread_local = "1.1" |
| 56 | |
| 57 | # File watching |
| 58 | notify = "6.0" |
| 59 | |
| 60 | # Serialization |
| 61 | serde = { version = "1.0", features = ["derive"] } |
| 62 | serde_json = "1.0" |
| 63 | |
| 64 | # Additional utilities |
| 65 | once_cell = "1.19" |
| 66 | crossbeam = "0.8" |
| 67 | regex = "1.0" |
| 68 | sha2 = "0.10" |
| 69 | futures = "0.3" |
| 70 | async-trait = "0.1.89" |
| 71 | |
| 72 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
| 73 | wasm-bindgen.workspace = true |
| 74 | web-sys.workspace = true |
| 75 | console_error_panic_hook.workspace = true |
| 76 | wasm-bindgen-futures.workspace = true |
| 77 | |
| 78 | [dev-dependencies] |
| 79 | pretty_assertions.workspace = true |
| 80 | pollster = "0.3" |
| 81 | |
| 82 | [features] |
| 83 | default = [] |
| 84 | webgl = ["wgpu/webgl"] |
| 85 | |
| 86 |