bhaang: init

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-11-05 18:47:30 +05:30
commit 98c6c5fe3d
8 changed files with 2069 additions and 0 deletions

29
Cargo.toml Normal file
View File

@@ -0,0 +1,29 @@
[package]
name = "bhaang"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
winit = "0.27"
env_logger = "0.9"
log = "0.4"
wgpu = "0.14"
cfg-if = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "0.2.0"
wgpu = { version = "0.14", features = ["webgl"]}
wasm-bindgen = "0.2.8"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3.6", features = [
"Document",
"Window",
"Element",
]}
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=lld"]