[dependencies.cgmath]
version = "0.18"
[dependencies.egui]
optional = true
version = "0.29"
[dependencies.egui_glow]
optional = true
version = "0.29"
[dependencies.getrandom]
features = ["js"]
optional = true
version = "0.2"
[dependencies.glow]
version = "0.14"
[dependencies.lyon]
optional = true
version = "1"
[dependencies.open-enum]
version = "0.5"
[dependencies.swash]
optional = true
version = "0.1"
[dependencies.thiserror]
version = "2"
[dependencies.three-d-asset]
version = "0.9"
[dependencies.winit]
optional = true
version = "0.28"
[dev-dependencies.noise]
default-features = false
version = "0.6"
[dev-dependencies.rand]
version = "0.7"
[dev-dependencies.three-d-asset]
features = ["hdr", "gltf", "obj", "vol", "pcd", "png", "jpeg", "http", "data-url"]
version = "0.9"
[dev-dependencies.winit]
version = "0.28"
[features]
default = ["window"]
egui-gui = ["egui_glow", "egui", "getrandom"]
headless = ["glutin_029"]
text = ["swash", "lyon"]
window = ["glutin", "winit", "raw-window-handle", "wasm-bindgen", "serde", "serde-wasm-bindgen", "web-sys"]
[lib]
name = "three_d"
path = "src/lib.rs"
[package]
authors = ["Asger Nyman Christiansen <asgernyman@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["graphics", "rendering", "visualization", "wasm", "web-programming"]
description = "2D/3D renderer - makes it simple to draw stuff across platforms (including web)"
edition = "2021"
exclude = ["/examples", ".gitignore", "/web"]
keywords = ["3d", "gamedev", "webassembly", "opengl", "webgl"]
license = "MIT"
name = "three-d"
readme = "README.md"
repository = "https://github.com/asny/three-d"
version = "0.18.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "wasm32-unknown-unknown"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin]
optional = true
version = "0.30"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin_029]
optional = true
package = "glutin"
version = "0.29"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.image]
default-features = false
features = ["png"]
optional = true
version = "0.25"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.raw-window-handle]
optional = true
version = "0.5"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
version = "0.1.11"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
optional = true
version = "0.6"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
optional = true
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["Document", "HtmlCollection", "HtmlCanvasElement", "Window"]
optional = true
version = "0.3"