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-ui-core/Cargo.toml
1[package]
2name = "strato-ui-core"
3version = "0.1.0"
4edition = "2021"
5authors = ["Warp Team <dev@warp.dev>", "StratoSDK Team"]
6publish = false
7license = "MIT"
8description = "Quarantined MIT import of Strato UI core for StratoSDK clean-room adaptation"
9 
10[lib]
11name = "strato_ui_core"
12 
13[features]
14traces = []
15# Feature enabled only when app is compiled for integration tests.
16integration_tests = ["dep:minimp4", "dep:openh264"]
17# If enabled, writes named telemetry events to the info log. Should never be
18# enabled in release builds without a PII audit of telemetry data.
19log_named_telemetry_events = []
20schema_gen = ["dep:schemars"]
21# Enables utilities for testing.
22test-util = []
23 
24[dependencies]
25anyhow = "1.0"
26async-broadcast.workspace = true
27async-channel.workspace = true
28async-executor = "1.4.1"
29async-task.workspace = true
30async-fs.workspace = true
31bounded-vec-deque = "0.1"
32bytes.workspace = true
33cfg-if.workspace = true
34chrono = "0.4"
35dashmap.workspace = true
36derivative.workspace = true
37derive_more.workspace = true
38dirs.workspace = true
39enum-iterator.workspace = true
40float-cmp.workspace = true
41futures = "0.3"
42futures-lite.workspace = true
43futures-util = { version = "0.3", default-features = false }
44image.workspace = true
45minimp4 = { workspace = true, optional = true }
46openh264 = { workspace = true, optional = true }
47infer = "0.19.0"
48instant.workspace = true
49itertools.workspace = true
50lazy_static = "1.4.0"
51log = "0.4"
52schemars = { version = "1", optional = true }
53num-derive = "0.4.2"
54num-traits.workspace = true
55num_cpus = "1.0"
56ordered-float = "3.0.0"
57parking_lot.workspace = true
58pathfinder_color.workspace = true
59pathfinder_geometry.workspace = true
60rand.workspace = true
61rangemap.workspace = true
62raw-window-handle = "0.6.2"
63resvg.workspace = true
64rstar = "0.12.2"
65rustc-hash.workspace = true
66serde = { version = "1.0", features = ["derive", "rc"] }
67serde_json.workspace = true
68similar.workspace = true
69smallvec.workspace = true
70strum.workspace = true
71strum_macros.workspace = true
72tempfile.workspace = true
73thiserror.workspace = true
74titlecase = "1.0"
75tokio.workspace = true
76trait-set = "0.3.0"
77vec1.workspace = true
78 
79[dev-dependencies]
80concat-idents.workspace = true
81tempfile = "3.2.0"
82ctor = "0.1.19"
83rust-embed.workspace = true
84simplelog.workspace = true
85# Enable the `test-util` feature for our own package when running tests.
86strato_ui_core = { package = "strato-ui-core", path = ".", features = ["test-util"] }
87 
88[target.'cfg(not(target_family = "wasm"))'.dependencies]
89async-io.workspace = true
90ctrlc.workspace = true
91font-kit.workspace = true
92tokio = { workspace = true, features = ["rt-multi-thread"] }
93 
94[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
95arboard = { workspace = true, features = ["image-data"] }
96 
97[target.'cfg(target_family = "wasm")'.dependencies]
98gloo.workspace = true
99wasm-bindgen-futures.workspace = true
100woothee = "0.13.0"
101 
102[build-dependencies]
103cfg_aliases.workspace = true
104