Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though

This commit is contained in:
Ryan Ward
2026-05-07 11:29:34 -05:00
parent f4e2475c60
commit a41cbd8cc7
2433 changed files with 14208 additions and 9409 deletions
+16
View File
@@ -0,0 +1,16 @@
use anyhow::{anyhow, Result};
use std::borrow::Cow;
pub mod asset_cache;
impl AssetProvider for () {
fn get(&self, path: &str) -> Result<Cow<'_, [u8]>> {
Err(anyhow!(
"get called on empty asset provider with \"{}\"",
path
))
}
}
pub trait AssetProvider: 'static {
fn get(&self, path: &str) -> Result<Cow<'_, [u8]>>;
}