Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

705 B
Raw Blame
[package]
name = "raea-io-net"
version = "0.1.0"
edition = "2024"
license = "FSL-1.1-ALv2"
publish = false
description = "What a URL names, read: data: URLs, HTTP(S) requests, WebSockets, raea's URL cache"

[features]
# ws.rs: a page's WebSockets (the net.ws host calls); raea-native's shell fetches only
ws = ["dep:tungstenite"]

[dependencies]
raea-io-home = { path = "../../io/home" }
serde_json = "1"
base64 = "0.22"
tungstenite = { version = "0.30", features = ["rustls-tls-webpki-roots"], optional = true }

# HTTP(S) on the machine; a browser build (wasm32) fetches in the page, so it goes without (ring has no wasm32 randomness)
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ureq = "2"