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"fonts.noto_color_emoji.NotoColorEmoji-Regular",
];
let fonts: Vec<_> = required_fonts
.into_iter()
.map(|id| {
let font_data_handle = assets.load::<FontData>(id)?;
let font_data: Arc<Vec<u8>> = Arc::new(font_data_handle.read().0.clone());
Ok((id, Source::Binary(font_data)))
let fonts_handle = assets.load_rec_dir::<FontData>("fonts")?;
let fonts: Vec<_> = fonts_handle
.read()
.iter(assets)
.filter_map(|maybe_font| match maybe_font {
Ok(font_handle) => {
let font_data: Arc<Vec<u8>> = Arc::new(font_handle.read().0.clone());
let id = font_handle.id();
Some((id, Source::Binary(font_data)))
}
Err(e) => {
log::info!("failed to recursively load a font: {e}");
None
}
let (id, res) =
winit_executor.spawn(async move { game.lock().unwrap().create_surface().await });
if let Some(res) = res {
res.unwrap()
} else {
el_proxy.send_event(PollTask(id)).unwrap();
}
winit_executor
.spawn(async move { game.lock().unwrap().create_surface().await })
.unwrap();
]
[[package]]
name = "gc-arena"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57b2e43b3fc51b9900cc9ced1c4630dcbfae1859573102a84d2231ac744c1208"
dependencies = [
"allocator-api2",
"gc-arena-derive",
"hashbrown",
"sptr",
]
[[package]]
name = "gc-arena-derive"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96f3c487d429eaa928334f7f2ca7b14734f1c2f4020d2b08c1f0b4d9c70e4f17"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.48",
"synstructure",
]
[[package]]
name = "generator"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cc16584ff22b460a382b7feec54b23d2908d858152e5739a120b949293bd74e"
dependencies = [
"cc",
"libc",
"log",
"rustversion",
"windows 0.48.0",
[[package]]
name = "leptos_reactive"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b30c5bc7f3496d6ba399578171cf133c50d2172f9791fe292db4da2fd0d8cec4"
dependencies = [
"base64",
"cfg-if",
"futures",
"indexmap",
"js-sys",
"paste",
"pin-project",
"rustc-hash",
"self_cell",
"serde",
"serde-wasm-bindgen",
"serde_json",
"slotmap",
"thiserror",
"tracing",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
[[package]]
name = "loom"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5"
dependencies = [
"cfg-if",
"generator",
"pin-utils",
"scoped-tls",
"tracing",
"tracing-subscriber",
]
]
[[package]]
name = "piccolo"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93dd1815b42446904bb2689d1c5d7680e8c68113d5b15a5a3297ba6c7a5f84af"
dependencies = [
"ahash",
"allocator-api2",
"anyhow",
"gc-arena",
"hashbrown",
"rand",
"thiserror",
]
[[package]]
name = "pin-project"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0"
dependencies = [
"pin-project-internal",
]
[[package]]
name = "pin-project-internal"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.48",
]
[[package]]
name = "serde-wasm-bindgen"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9b713f70513ae1f8d92665bbbbda5c295c2cf1da5542881ae5eefe20c9af132"
dependencies = [
"js-sys",
"serde",
"wasm-bindgen",
]
[[package]]
name = "synstructure"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.48",
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "windows"