Archived
b9d096ef5b
Adds five new builtins backed by wry 0.47 + tao 0.30: - window_open(title, width, height) — configure window - webview_load_url(url) — set URL to navigate to - webview_load_html(html) — set HTML to display - webview_eval(js) — queue JS to eval after load - window_run() — open native OS window and run event loop (blocking, exits on close) WebViewState is stored in a thread_local. window_run() calls tao's event_loop.run() which never returns; process exits when the window is closed via std::process::exit(0).
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "el"
|
|
description = "Engram language CLI — el build / run / check / seal / unseal / new / add / publish / …"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "el"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
el-lexer = { workspace = true }
|
|
el-parser = { workspace = true }
|
|
el-types = { workspace = true }
|
|
el-compiler = { workspace = true }
|
|
el-seal = { workspace = true }
|
|
el-manifest = { workspace = true }
|
|
el-registry = { workspace = true }
|
|
el-build = { workspace = true }
|
|
el-test = { workspace = true }
|
|
el-fmt = { workspace = true }
|
|
el-lint = { workspace = true }
|
|
clap = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
|
|
reqwest = { workspace = true }
|
|
uuid = { workspace = true }
|
|
walkdir = { workspace = true }
|
|
tiny_http = { workspace = true }
|
|
blake3 = { workspace = true }
|
|
hmac = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
hex = { workspace = true }
|
|
base64 = { workspace = true }
|
|
wry = "0.47"
|
|
tao = "0.30"
|