Compare commits

..

2 Commits

6 changed files with 185 additions and 4 deletions

6
Cargo.lock generated
View File

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "addr2line"
@ -718,9 +718,9 @@ dependencies = [
[[package]]
name = "glam"
version = "0.24.2"
version = "0.29.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5418c17512bdf42730f9032c74e1ae39afc408745ebb2acf72fbc4691c17945"
checksum = "480c9417a5dc586fc0c0cb67891170e59cc11e9dc79ba1c11ddd2c56ca3f3b90"
[[package]]
name = "hashbrown"

18
common-api/wit/asset.wit Normal file
View File

@ -0,0 +1,18 @@
interface asset {
resource handle {
set-watched: func(watched: bool);
version: func() -> u64;
uuid: func() -> string;
path: func() -> string;
is-watched: func() -> bool;
is-loaded: func() -> bool;
wait-for-load: func();
wait-recurse-dependencies-load: func();
}
resource asset-manager {
constructor();
request: func(path: string) -> handle;
}
}

@ -1 +1 @@
Subproject commit 60c139f9b2563b4c2d809031ecac336badc63965
Subproject commit 7ae0eae6ac714d72250149ab6b61a1ac66a5a6a9

3
rust-toolchain.toml Normal file
View File

@ -0,0 +1,3 @@
[toolchain]
channel = "nightly"
#targets = [ "x86_64-unknown-linux-gnu" ]

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
interface asset {
resource handle {
set-watched: func(watched: bool);
version: func() -> u64;
uuid: func() -> string;
path: func() -> string;
is-watched: func() -> bool;
is-loaded: func() -> bool;
wait-for-load: func();
wait-recurse-dependencies-load: func();
}
resource asset-manager {
constructor();
request: func(path: string) -> handle;
}
}