Compare commits

..

1 commit

Author SHA1 Message Date
2a0ba5c594 added game state trait
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-02 20:52:47 +02:00
868 changed files with 4246 additions and 2868 deletions

View file

@ -3,7 +3,7 @@ type: docker
name: frontend name: frontend
steps: steps:
- name: build - name: dependencies
image: rust:1.53.0-slim image: rust:slim
commands: commands:
- cargo build - cargo doc

17
.gitignore vendored
View file

@ -1,21 +1,4 @@
/target/ /target/
/generated/ /generated/
/GPUCache/
/flamegraph.svg /flamegraph.svg
/perf.data* /perf.data*
/chunks/
/assets/*
!/assets/grass_block_*.png
!/assets/font
/assets/font/*
!/assets/font/ascii_shadow.png
/release/
profile.txt
callgrind.out.*
build.rs
shell.sh

447
Cargo.lock generated
View file

@ -1,11 +1,5 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
[[package]]
name = "ab_glyph_rasterizer"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9fe5e32de01730eb1f6b7f5b51c17e03e2325bf40a74f754f04f130043affff"
[[package]] [[package]]
name = "adler" name = "adler"
version = "1.0.2" version = "1.0.2"
@ -24,6 +18,17 @@ version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e"
[[package]]
name = "ahash"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
dependencies = [
"getrandom 0.2.3",
"once_cell",
"version_check",
]
[[package]] [[package]]
name = "aho-corasick" name = "aho-corasick"
version = "0.7.18" version = "0.7.18"
@ -33,19 +38,6 @@ dependencies = [
"memchr", "memchr",
] ]
[[package]]
name = "andrew"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c4afb09dd642feec8408e33f92f3ffc4052946f6b20f32fb99c1f58cd4fa7cf"
dependencies = [
"bitflags",
"rusttype",
"walkdir",
"xdg",
"xml-rs",
]
[[package]] [[package]]
name = "anyhow" name = "anyhow"
version = "1.0.40" version = "1.0.40"
@ -73,7 +65,7 @@ version = "0.32.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06063a002a77d2734631db74e8f4ce7148b77fe522e6bca46f2ae7774fd48112" checksum = "06063a002a77d2734631db74e8f4ce7148b77fe522e6bca46f2ae7774fd48112"
dependencies = [ dependencies = [
"libloading 0.7.0", "libloading",
] ]
[[package]] [[package]]
@ -158,16 +150,6 @@ version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "calloop"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b036167e76041694579972c28cf4877b4f92da222560ddb49008937b6a6727c"
dependencies = [
"log",
"nix 0.18.0",
]
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.0.68" version = "1.0.68"
@ -424,7 +406,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "091ed1b25fe47c7ff129fc440c23650b6114f36aa00bc7212cc8041879294428" checksum = "091ed1b25fe47c7ff129fc440c23650b6114f36aa00bc7212cc8041879294428"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"libloading 0.7.0", "libloading",
"winapi", "winapi",
] ]
@ -490,30 +472,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b"
[[package]]
name = "dlib"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b11f15d1e3268f140f68d390637d5e76d849782d971ae7063e0da69fe9709a76"
dependencies = [
"libloading 0.6.7",
]
[[package]]
name = "dlib"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac1b7517328c04c2aa68422fc60a41b92208182142ed04a25879c26c8f878794"
dependencies = [
"libloading 0.7.0",
]
[[package]]
name = "downcast-rs"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]] [[package]]
name = "either" name = "either"
version = "1.6.1" version = "1.6.1"
@ -560,16 +518,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "fs2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
dependencies = [
"libc",
"winapi",
]
[[package]] [[package]]
name = "futures" name = "futures"
version = "0.3.15" version = "0.3.15"
@ -681,7 +629,18 @@ checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
"libc", "libc",
"wasi", "wasi 0.9.0+wasi-snapshot-preview1",
]
[[package]]
name = "getrandom"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
dependencies = [
"cfg-if 1.0.0",
"libc",
"wasi 0.10.2+wasi-snapshot-preview1",
] ]
[[package]] [[package]]
@ -705,7 +664,7 @@ dependencies = [
"bitflags", "bitflags",
"gfx-auxil", "gfx-auxil",
"gfx-hal", "gfx-hal",
"libloading 0.7.0", "libloading",
"log", "log",
"parking_lot", "parking_lot",
"range-alloc", "range-alloc",
@ -763,7 +722,7 @@ dependencies = [
"glow", "glow",
"js-sys", "js-sys",
"khronos-egl", "khronos-egl",
"libloading 0.7.0", "libloading",
"log", "log",
"naga", "naga",
"parking_lot", "parking_lot",
@ -840,12 +799,6 @@ dependencies = [
"weezl", "weezl",
] ]
[[package]]
name = "glob"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]] [[package]]
name = "glow" name = "glow"
version = "0.9.0" version = "0.9.0"
@ -940,7 +893,7 @@ version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
dependencies = [ dependencies = [
"ahash", "ahash 0.4.7",
] ]
[[package]] [[package]]
@ -1012,24 +965,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec" checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
dependencies = [ dependencies = [
"cfg-if 1.0.0", "cfg-if 1.0.0",
] "js-sys",
"wasm-bindgen",
[[package]] "web-sys",
name = "itertools"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
dependencies = [
"either",
] ]
[[package]] [[package]]
@ -1078,7 +1016,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c2352bd1d0bceb871cb9d40f24360c8133c11d7486b68b5381c1dd1a32015e3" checksum = "8c2352bd1d0bceb871cb9d40f24360c8133c11d7486b68b5381c1dd1a32015e3"
dependencies = [ dependencies = [
"libc", "libc",
"libloading 0.7.0", "libloading",
] ]
[[package]] [[package]]
@ -1093,16 +1031,6 @@ version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36" checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
[[package]]
name = "libloading"
version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
dependencies = [
"cfg-if 1.0.0",
"winapi",
]
[[package]] [[package]]
name = "libloading" name = "libloading"
version = "0.7.0" version = "0.7.0"
@ -1152,15 +1080,6 @@ version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
[[package]]
name = "memmap2"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b70ca2a6103ac8b665dc150b142ef0e4e89df640c9e6cf295d189c3caebe5a"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "memoffset" name = "memoffset"
version = "0.6.4" version = "0.6.4"
@ -1188,22 +1107,17 @@ dependencies = [
name = "minecrab" name = "minecrab"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"ahash 0.7.4",
"anyhow", "anyhow",
"bytemuck", "bytemuck",
"cgmath", "cgmath",
"env_logger", "env_logger",
"futures", "futures",
"fxhash",
"gltf", "gltf",
"image", "image",
"itertools 0.10.0",
"log", "log",
"noise", "noise",
"rayon", "rayon",
"rmp-serde",
"serde",
"serde_repr",
"sled",
"wgpu", "wgpu",
"winit", "winit",
] ]
@ -1323,30 +1237,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c44922cb3dbb1c70b5e5f443d63b64363a898564d739ba5198e3a9138442868d" checksum = "c44922cb3dbb1c70b5e5f443d63b64363a898564d739ba5198e3a9138442868d"
[[package]]
name = "nix"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83450fe6a6142ddd95fb064b746083fc4ef1705fe81f64a64e1d4b39f54a1055"
dependencies = [
"bitflags",
"cc",
"cfg-if 0.1.10",
"libc",
]
[[package]]
name = "nix"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a"
dependencies = [
"bitflags",
"cc",
"cfg-if 1.0.0",
"libc",
]
[[package]] [[package]]
name = "noise" name = "noise"
version = "0.7.0" version = "0.7.0"
@ -1358,16 +1248,6 @@ dependencies = [
"rand_xorshift", "rand_xorshift",
] ]
[[package]]
name = "nom"
version = "6.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
dependencies = [
"memchr",
"version_check",
]
[[package]] [[package]]
name = "ntapi" name = "ntapi"
version = "0.3.6" version = "0.3.6"
@ -1475,15 +1355,6 @@ version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3" checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
[[package]]
name = "owned_ttf_parser"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f923fb806c46266c02ab4a5b239735c144bdeda724a50ed058e5226f594cde3"
dependencies = [
"ttf-parser",
]
[[package]] [[package]]
name = "parking_lot" name = "parking_lot"
version = "0.11.1" version = "0.11.1"
@ -1612,7 +1483,7 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
dependencies = [ dependencies = [
"getrandom", "getrandom 0.1.16",
"libc", "libc",
"rand_chacha", "rand_chacha",
"rand_core", "rand_core",
@ -1635,7 +1506,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
dependencies = [ dependencies = [
"getrandom", "getrandom 0.1.16",
] ]
[[package]] [[package]]
@ -1722,58 +1593,12 @@ version = "0.6.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
[[package]]
name = "rmp"
version = "0.8.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f55e5fa1446c4d5dd1f5daeed2a4fe193071771a2636274d0d7a3b082aa7ad6"
dependencies = [
"byteorder",
"num-traits",
]
[[package]]
name = "rmp-serde"
version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "839395ef53057db96b84c9238ab29e1a13f2e5c8ec9f66bef853ab4197303924"
dependencies = [
"byteorder",
"rmp",
"serde",
]
[[package]]
name = "rusttype"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc7c727aded0be18c5b80c1640eae0ac8e396abf6fa8477d96cb37d18ee5ec59"
dependencies = [
"ab_glyph_rasterizer",
"owned_ttf_parser",
]
[[package]] [[package]]
name = "ryu" name = "ryu"
version = "1.0.5" version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
[[package]]
name = "same-file"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
dependencies = [
"winapi-util",
]
[[package]]
name = "scoped-tls"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
[[package]] [[package]]
name = "scoped_threadpool" name = "scoped_threadpool"
version = "0.1.9" version = "0.1.9"
@ -1791,9 +1616,6 @@ name = "serde"
version = "1.0.126" version = "1.0.126"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03"
dependencies = [
"serde_derive",
]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
@ -1817,40 +1639,12 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "serde_repr"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "slab" name = "slab"
version = "0.4.3" version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527" checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527"
[[package]]
name = "sled"
version = "0.34.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d0132f3e393bcb7390c60bb45769498cf4550bcb7a21d7f95c02b69f6362cdc"
dependencies = [
"crc32fast",
"crossbeam-epoch",
"crossbeam-utils",
"fs2",
"fxhash",
"libc",
"log",
"parking_lot",
"zstd",
]
[[package]] [[package]]
name = "slotmap" name = "slotmap"
version = "0.4.0" version = "0.4.0"
@ -1863,25 +1657,6 @@ version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
[[package]]
name = "smithay-client-toolkit"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4750c76fd5d3ac95fa3ed80fe667d6a3d8590a960e5b575b98eea93339a80b80"
dependencies = [
"andrew",
"bitflags",
"calloop",
"dlib 0.4.2",
"lazy_static",
"log",
"memmap2",
"nix 0.18.0",
"wayland-client",
"wayland-cursor",
"wayland-protocols",
]
[[package]] [[package]]
name = "spirv_cross" name = "spirv_cross"
version = "0.23.1" version = "0.23.1"
@ -1984,12 +1759,6 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "ttf-parser"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e5d7cd7ab3e47dda6e56542f4bbf3824c15234958c6e1bd6aaa347e93499fdc"
[[package]] [[package]]
name = "unicode-width" name = "unicode-width"
version = "0.1.8" version = "0.1.8"
@ -2008,23 +1777,18 @@ version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
[[package]]
name = "walkdir"
version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
dependencies = [
"same-file",
"winapi",
"winapi-util",
]
[[package]] [[package]]
name = "wasi" name = "wasi"
version = "0.9.0+wasi-snapshot-preview1" version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
[[package]]
name = "wasi"
version = "0.10.2+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.74" version = "0.2.74"
@ -2091,79 +1855,6 @@ version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f" checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f"
[[package]]
name = "wayland-client"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ca44d86554b85cf449f1557edc6cc7da935cc748c8e4bf1c507cbd43bae02c"
dependencies = [
"bitflags",
"downcast-rs",
"libc",
"nix 0.20.0",
"scoped-tls",
"wayland-commons",
"wayland-scanner",
"wayland-sys",
]
[[package]]
name = "wayland-commons"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8bd75ae380325dbcff2707f0cd9869827ea1d2d6d534cff076858d3f0460fd5a"
dependencies = [
"nix 0.20.0",
"once_cell",
"smallvec",
"wayland-sys",
]
[[package]]
name = "wayland-cursor"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b37e5455ec72f5de555ec39b5c3704036ac07c2ecd50d0bffe02d5fe2d4e65ab"
dependencies = [
"nix 0.20.0",
"wayland-client",
"xcursor",
]
[[package]]
name = "wayland-protocols"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95df3317872bcf9eec096c864b69aa4769a1d5d6291a5b513f8ba0af0efbd52c"
dependencies = [
"bitflags",
"wayland-client",
"wayland-commons",
"wayland-scanner",
]
[[package]]
name = "wayland-scanner"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "389d680d7bd67512dc9c37f39560224327038deb0f0e8d33f870900441b68720"
dependencies = [
"proc-macro2",
"quote",
"xml-rs",
]
[[package]]
name = "wayland-sys"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2907bd297eef464a95ba9349ea771611771aa285b932526c633dc94d5400a8e2"
dependencies = [
"dlib 0.5.0",
"lazy_static",
"pkg-config",
]
[[package]] [[package]]
name = "web-sys" name = "web-sys"
version = "0.3.50" version = "0.3.50"
@ -2296,8 +1987,8 @@ dependencies = [
"percent-encoding", "percent-encoding",
"raw-window-handle", "raw-window-handle",
"scopeguard", "scopeguard",
"smithay-client-toolkit", "wasm-bindgen",
"wayland-client", "web-sys",
"winapi", "winapi",
"x11-dl", "x11-dl",
] ]
@ -2322,55 +2013,3 @@ dependencies = [
"maybe-uninit", "maybe-uninit",
"pkg-config", "pkg-config",
] ]
[[package]]
name = "xcursor"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a9a231574ae78801646617cefd13bfe94be907c0e4fa979cfd8b770aa3c5d08"
dependencies = [
"nom",
]
[[package]]
name = "xdg"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57"
[[package]]
name = "xml-rs"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b07db065a5cf61a7e4ba64f29e67db906fb1787316516c4e6e5ff0fea1efcd8a"
[[package]]
name = "zstd"
version = "0.5.4+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69996ebdb1ba8b1517f61387a883857818a66c8a295f487b1ffd8fd9d2c82910"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
version = "2.0.6+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98aa931fb69ecee256d44589d19754e61851ae4769bf963b385119b1cc37a49e"
dependencies = [
"libc",
"zstd-sys",
]
[[package]]
name = "zstd-sys"
version = "1.4.18+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1e6e8778706838f43f771d80d37787cb2fe06dafe89dd3aebaf6721b9eaec81"
dependencies = [
"cc",
"glob",
"itertools 0.9.0",
"libc",
]

View file

@ -6,24 +6,19 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
gltf = "0.16"
ahash = "0.7.4"
anyhow = "1.0.40" anyhow = "1.0.40"
bytemuck = { version = "1.5.1", features = ["derive"] } bytemuck = { version = "1.5.1", features = ["derive"] }
cgmath = "0.18.0" cgmath = "0.18.0"
env_logger = "0.8.3" env_logger = "0.8.3"
futures = "0.3.15" futures = "0.3.15"
fxhash = "0.2.1"
gltf = "0.16"
image = "0.23.14" image = "0.23.14"
itertools = "0.10.0"
log = "0.4.14" log = "0.4.14"
noise = "0.7.0" noise = "0.7.0"
rayon = "1.5.1" rayon = "1.5.1"
rmp-serde = "0.15.4"
serde = { version = "1.0.126", features = ["derive"] }
serde_repr = "0.1.7"
sled = { version = "0.34.6", features = ["compression"] }
wgpu = "0.8.1" wgpu = "0.8.1"
winit = { version = "0.25.0" } winit = { version = "0.25.0", default_features = false, features = ["x11", "web-sys"] }
[profile.release] [profile.release]
debug = true debug = true

BIN
assets/block/acacia_door_bottom.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_door_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_leaves.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_log.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_log_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_planks.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_sapling.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/acacia_trapdoor.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/activator_rail.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/activator_rail_on.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/allium.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/ancient_debris_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/ancient_debris_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/andesite.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/anvil.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/anvil_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/attached_melon_stem.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/attached_pumpkin_stem.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/azure_bluet.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bamboo_large_leaves.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bamboo_singleleaf.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bamboo_small_leaves.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bamboo_stage0.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bamboo_stalk.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/barrel_bottom.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/barrel_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/barrel_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/barrel_top_open.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/basalt_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/basalt_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beacon.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bedrock.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bee_nest_bottom.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bee_nest_front.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bee_nest_front_honey.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bee_nest_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bee_nest_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beehive_end.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beehive_front.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beehive_front_honey.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beehive_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beetroots_stage0.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beetroots_stage1.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beetroots_stage2.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/beetroots_stage3.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bell_bottom.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bell_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bell_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_door_bottom.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_door_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_leaves.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_log.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_log_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_planks.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_sapling.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/birch_trapdoor.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_concrete.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_concrete_powder.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_glazed_terracotta.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_shulker_box.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_stained_glass.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_stained_glass_pane_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_terracotta.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/black_wool.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blackstone.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blackstone_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blast_furnace_front.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blast_furnace_front_on.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blast_furnace_front_on.png.mcmeta (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blast_furnace_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blast_furnace_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_concrete.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_concrete_powder.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_glazed_terracotta.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_ice.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_orchid.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_shulker_box.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_stained_glass.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_stained_glass_pane_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_terracotta.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/blue_wool.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bone_block_side.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bone_block_top.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bookshelf.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brain_coral.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brain_coral_block.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brain_coral_fan.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brewing_stand.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brewing_stand_base.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/bricks.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brown_concrete.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brown_concrete_powder.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brown_glazed_terracotta.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brown_mushroom.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brown_mushroom_block.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/block/brown_shulker_box.png (Stored with Git LFS) Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more