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