Move three-d patch into example Cargo.tom
This commit is contained in:
parent
b2510676b9
commit
fff2008255
3 changed files with 3 additions and 9 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -3529,17 +3529,14 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "three-d"
|
||||
version = "0.11.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "67f308ad823369a15af7278f5fc31e9742663fead72c1361d64d5b39ce882339"
|
||||
version = "0.12.0"
|
||||
source = "git+https://github.com/asny/three-d.git?rev=43f210668197e8b1dc50ea9f074d2b8426ecb0f2#43f210668197e8b1dc50ea9f074d2b8426ecb0f2"
|
||||
dependencies = [
|
||||
"cgmath",
|
||||
"gl_generator",
|
||||
"gloo-timers",
|
||||
"glow",
|
||||
"half",
|
||||
"js-sys",
|
||||
"log",
|
||||
"serde",
|
||||
"thiserror",
|
||||
"wasm-bindgen",
|
||||
|
|
|
@ -37,6 +37,3 @@ opt-level = 2 # fast and small wasm, basically same as `opt-level = 's'`
|
|||
# opt-level = 3 # unecessarily large wasm for no performance gain
|
||||
|
||||
# debug = true # include debug symbols, useful when profiling wasm
|
||||
|
||||
[patch.crates-io]
|
||||
three-d = { git = "https://github.com/asny/three-d.git", rev = "7ac4f3e1e14335290e505a5799a0b88717474678" }
|
||||
|
|
|
@ -12,4 +12,4 @@ publish = false
|
|||
eframe = { path = "../../eframe", features = ["glow"] }
|
||||
egui_glow = { path = "../../egui_glow" }
|
||||
glow = "0.11"
|
||||
three-d = { version = "0.12", default-features = false }
|
||||
three-d = { git = "https://github.com/asny/three-d.git", rev = "43f210668197e8b1dc50ea9f074d2b8426ecb0f2", default-features = false } # 2022-05-22
|
||||
|
|
Loading…
Reference in a new issue