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-core/Cargo.toml
StratoSDK / crates / strato-core / Cargo.toml
1[package]
2name = "strato-core"
3version.workspace = true
4edition.workspace = true
5authors.workspace = true
6license.workspace = true
7repository.workspace = true
8documentation.workspace = true
9description = "Core functionality for StratoSDK framework"
10 
11[dependencies]
12# State Management
13arc-swap.workspace = true
14dashmap.workspace = true
15parking_lot.workspace = true
16slotmap.workspace = true
17smallvec.workspace = true
18 
19# Math
20glam.workspace = true
21euclid.workspace = true
22 
23# Layout Engine
24taffy = "0.4"
25tokio = { workspace = true, optional = true, features = ["full"] }
26futures.workspace = true
27 
28# Hot reload dependencies
29notify = { version = "6.0", optional = true }
30tokio-tungstenite = { version = "0.20", optional = true }
31futures-util = { version = "0.3", optional = true }
32 
33# Error handling
34thiserror.workspace = true
35anyhow.workspace = true
36 
37# Serialization
38serde = { workspace = true, optional = true }
39serde_json = { workspace = true, optional = true }
40 
41# Logging
42tracing.workspace = true
43tracing-subscriber.workspace = true
44chrono = "0.4"
45 
46[dev-dependencies]
47pretty_assertions.workspace = true
48criterion.workspace = true
49 
50[features]
51default = ["serde"]
52serde = ["dep:serde", "dep:serde_json", "glam/serde"]
53async = ["dep:tokio"]
54hot-reload = ["dep:notify", "dep:tokio-tungstenite", "dep:futures-util", "async"]
55perf-metrics = []
56 
57[[bench]]
58name = "layout"
59harness = false
60 
61[[bench]]
62name = "state"
63harness = false
64