[package]
name = "thread-engine"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Loom — the embeddable engine for the Thread: world resolution, veils, presence, Codex and the 2D-web reader. Infinite is the reference browser built on it."
repository = "https://github.com/Pixygon/thread-engine"
[dependencies]
infinite-manifest.workspace = true
infinite-avatar.workspace = true
weft = { package = "weft-lang", path = "../weft", version = "0.2.2" }
thread-id.workspace = true
glam.workspace = true
reqwest.workspace = true
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
tracing.workspace = true
tokio-tungstenite = { workspace = true, features = ["connect", "rustls-tls-webpki-roots"] }
futures-util = "0.3"
thread-relay = { path = "../thread-relay", version = "0.2.2" }
webrtc = { version = "0.11", optional = true }
bytes = { version = "1", optional = true }
wasmi = { version = "0.31", optional = true }
[features]
p2p = ["dep:webrtc", "dep:bytes"]
behaviors = ["dep:wasmi"]
[dev-dependencies]
wat = "1"
thread-rendezvous = { path = "../thread-rendezvous", version = "0.2.2" }