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