Seregon/StratoSDK

StratoSDK is a framework with a declarative approach similar to Flutter/React, written and designed entirely for Rust.

Rust/27.3 KB/No license
crates/strato-platform/Cargo.toml
1[package]
2name = "strato-platform"
3version.workspace = true
4edition.workspace = true
5authors.workspace = true
6license.workspace = true
7repository.workspace = true
8documentation.workspace = true
9description = "Platform abstraction layer for StratoSDK framework"
10 
11[dependencies]
12strato-core = { workspace = true }
13strato-renderer = { workspace = true }
14strato-widgets = { workspace = true }
15 
16# Math
17glam.workspace = true
18 
19# Platform
20winit.workspace = true
21raw-window-handle.workspace = true
22 
23# Async
24tokio = { workspace = true }
25futures.workspace = true
26 
27# Logging
28tracing.workspace = true
29 
30# Error handling
31thiserror.workspace = true
32anyhow.workspace = true
33 
34# Async utilities
35pollster = "0.3"
36 
37[target.'cfg(target_arch = "wasm32")'.dependencies]
38wasm-bindgen.workspace = true
39wasm-bindgen-futures.workspace = true
40web-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]}
52js-sys.workspace = true
53console_error_panic_hook.workspace = true
54 
55[features]
56default = []
57