The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.
Rust electron-alternativegame-engineglobal-illuminationgraphicsjavascript-runtimemetalpath-tracingray-tracingreal-time-renderingrenderingrustthreejstypescriptvoxelvulkanwebgpuwgpu
[package]
name = "threert-net"
description = "fetch, WebSocket, system TLS, clipboard and audio for ThreeRT runtime"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
jsc.workspace = true
rt.workspace = true
libc = "0.2"
httparse = "1.10"
# System TLS (Security.framework on macOS, OpenSSL on Linux) instead of bundling rustls + ring.
native-tls = "0.2"
tungstenite = { version = "0.30", default-features = false, features = ["handshake"] }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"
objc2-foundation = { version = "0.3", default-features = false, features = ["std", "NSString"] }
objc2-app-kit = { version = "0.3", default-features = false, features = ["std", "NSPasteboard"] }
[target.'cfg(not(target_os = "macos"))'.dependencies]
flate2 = "1"
brotli = { version = "7", default-features = false, features = ["std"] }