forked from joey/godottest
gdext plugin
This commit is contained in:
parent
bb821f9b74
commit
d758dc011e
@ -1,14 +1,70 @@
|
||||
[configuration]
|
||||
entry_symbol = "gdext_rust_init"
|
||||
compatibility_minimum = 4.5
|
||||
compatibility_minimum = 4.1
|
||||
reloadable = true
|
||||
|
||||
[libraries]
|
||||
linux.debug.x86_64 = "res://../rust/target/debug/libgodottest_rs.so"
|
||||
linux.release.x86_64 = "res://../rust/target/release/libgodottest_rs.so"
|
||||
windows.debug.x86_64 = "res://../rust/target/debug/godottest_rs.dll"
|
||||
windows.release.x86_64 = "res://../rust/target/release/godottest_rs.dll"
|
||||
macos.debug = "res://../rust/target/debug/libgodottest_rs.dylib"
|
||||
macos.release = "res://../rust/target/release/libgodottest_rs.dylib"
|
||||
macos.debug.arm64 = "res://../rust/target/debug/libgodottest_rs.dylib"
|
||||
macos.release.arm64 = "res://../rust/target/release/libgodottest_rs.dylib"
|
||||
"android.debug" = "res://../rust/target/debug/godottest_rs.so"
|
||||
"android.release" = "res://../rust/target/release/godottest_rs.so"
|
||||
"android.editor" = "res://../rust/target/debug/godottest_rs.so"
|
||||
"android.debug.arm_32" = "res://../rust/target/armv7-linux-androideabi/debug/godottest_rs.so"
|
||||
"android.release.arm_32" = "res://../rust/target/armv7-linux-androideabi/release/godottest_rs.so"
|
||||
"android.editor.arm_32" = "res://../rust/target/armv7-linux-androideabi/debug/godottest_rs.so"
|
||||
"android.debug.arm_64" = "res://../rust/target/aarch64-linux-android/debug/godottest_rs.so"
|
||||
"android.release.arm_64" = "res://../rust/target/aarch64-linux-android/release/godottest_rs.so"
|
||||
"android.editor.arm_64" = "res://../rust/target/aarch64-linux-android/debug/godottest_rs.so"
|
||||
"android.debug.x86_32" = "res://../rust/target/i686-linux-android/debug/godottest_rs.so"
|
||||
"android.release.x86_32" = "res://../rust/target/i686-linux-android/release/godottest_rs.so"
|
||||
"android.editor.x86_32" = "res://../rust/target/i686-linux-android/debug/godottest_rs.so"
|
||||
"android.debug.x86_64" = "res://../rust/target/x86_64-linux-android/debug/godottest_rs.so"
|
||||
"android.release.x86_64" = "res://../rust/target/x86_64-linux-android/release/godottest_rs.so"
|
||||
"android.editor.x86_64" = "res://../rust/target/x86_64-linux-android/debug/godottest_rs.so"
|
||||
"ios.debug" = "res://../rust/target/debug/libgodottest_rs.ios.framework"
|
||||
"ios.release" = "res://../rust/target/release/libgodottest_rs.ios.framework"
|
||||
"ios.editor" = "res://../rust/target/debug/libgodottest_rs.ios.framework"
|
||||
"ios.debug.arm_64" = "res://../rust/target/aarch64-apple-ios/debug/libgodottest_rs.ios.framework"
|
||||
"ios.release.arm_64" = "res://../rust/target/aarch64-apple-ios/release/libgodottest_rs.ios.framework"
|
||||
"ios.editor.arm_64" = "res://../rust/target/aarch64-apple-ios/debug/libgodottest_rs.ios.framework"
|
||||
"linux.debug" = "res://../rust/target/debug/libgodottest_rs.so"
|
||||
"linux.release" = "res://../rust/target/release/libgodottest_rs.so"
|
||||
"linux.editor" = "res://../rust/target/debug/libgodottest_rs.so"
|
||||
"linux.debug.arm_64" = "res://../rust/target/aarch64-unknown-linux-gnu/debug/libgodottest_rs.so"
|
||||
"linux.release.arm_64" = "res://../rust/target/aarch64-unknown-linux-gnu/release/libgodottest_rs.so"
|
||||
"linux.editor.arm_64" = "res://../rust/target/aarch64-unknown-linux-gnu/debug/libgodottest_rs.so"
|
||||
"linux.debug.rv_64" = "res://../rust/target/riscv64gc-unknown-linux-gnu/debug/libgodottest_rs.so"
|
||||
"linux.release.rv_64" = "res://../rust/target/riscv64gc-unknown-linux-gnu/release/libgodottest_rs.so"
|
||||
"linux.editor.rv_64" = "res://../rust/target/riscv64gc-unknown-linux-gnu/debug/libgodottest_rs.so"
|
||||
"linux.debug.x86_64" = "res://../rust/target/x86_64-unknown-linux-gnu/debug/libgodottest_rs.so"
|
||||
"linux.release.x86_64" = "res://../rust/target/x86_64-unknown-linux-gnu/release/libgodottest_rs.so"
|
||||
"linux.editor.x86_64" = "res://../rust/target/x86_64-unknown-linux-gnu/debug/libgodottest_rs.so"
|
||||
"macos.debug" = "res://../rust/target/debug/libgodottest_rs.dylib"
|
||||
"macos.release" = "res://../rust/target/release/libgodottest_rs.dylib"
|
||||
"macos.editor" = "res://../rust/target/debug/libgodottest_rs.dylib"
|
||||
"macos.debug.arm_64" = "res://../rust/target/aarch64-apple-darwin/debug/libgodottest_rs.dylib"
|
||||
"macos.release.arm_64" = "res://../rust/target/aarch64-apple-darwin/release/libgodottest_rs.dylib"
|
||||
"macos.editor.arm_64" = "res://../rust/target/aarch64-apple-darwin/debug/libgodottest_rs.dylib"
|
||||
"macos.debug.x86_64" = "res://../rust/target/x86_64-apple-darwin/debug/libgodottest_rs.dylib"
|
||||
"macos.release.x86_64" = "res://../rust/target/x86_64-apple-darwin/release/libgodottest_rs.dylib"
|
||||
"macos.editor.x86_64" = "res://../rust/target/x86_64-apple-darwin/debug/libgodottest_rs.dylib"
|
||||
"web.debug" = "res://../rust/target/debug/godottest_rs.wasm"
|
||||
"web.release" = "res://../rust/target/release/godottest_rs.wasm"
|
||||
"web.editor" = "res://../rust/target/debug/godottest_rs.wasm"
|
||||
"web.debug.wasm32" = "res://../rust/target/wasm32-unknown-emscripten/debug/godottest_rs.wasm"
|
||||
"web.release.wasm32" = "res://../rust/target/wasm32-unknown-emscripten/release/godottest_rs.wasm"
|
||||
"web.editor.wasm32" = "res://../rust/target/wasm32-unknown-emscripten/debug/godottest_rs.wasm"
|
||||
"windows.debug" = "res://../rust/target/debug/godottest_rs.dll"
|
||||
"windows.release" = "res://../rust/target/release/godottest_rs.dll"
|
||||
"windows.editor" = "res://../rust/target/debug/godottest_rs.dll"
|
||||
"windows.debug.arm_64" = "res://../rust/target/aarch64-pc-windows-msvc/debug/godottest_rs.dll"
|
||||
"windows.release.arm_64" = "res://../rust/target/aarch64-pc-windows-msvc/release/godottest_rs.dll"
|
||||
"windows.editor.arm_64" = "res://../rust/target/aarch64-pc-windows-msvc/debug/godottest_rs.dll"
|
||||
"windows.debug.x86_32" = "res://../rust/target/i686-pc-windows-msvc/debug/godottest_rs.dll"
|
||||
"windows.release.x86_32" = "res://../rust/target/i686-pc-windows-msvc/release/godottest_rs.dll"
|
||||
"windows.editor.x86_32" = "res://../rust/target/i686-pc-windows-msvc/debug/godottest_rs.dll"
|
||||
"windows.debug.x86_64" = "res://../rust/target/x86_64-pc-windows-msvc/debug/godottest_rs.dll"
|
||||
"windows.release.x86_64" = "res://../rust/target/x86_64-pc-windows-msvc/release/godottest_rs.dll"
|
||||
"windows.editor.x86_64" = "res://../rust/target/x86_64-pc-windows-msvc/debug/godottest_rs.dll"
|
||||
|
||||
[icons]
|
||||
Player = "res://addons/rust/NodeRustFerris.svg"
|
||||
AsyncRuntime = "res://addons/rust/NodeRustFerris.svg"
|
||||
|
||||
29
godot/addons/rust/NodeRustFerris.svg
Normal file
29
godot/addons/rust/NodeRustFerris.svg
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Rust" xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" made-by="BurritoBandit28">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
stroke: #f68f45;
|
||||
stroke-miterlimit: 10;
|
||||
}
|
||||
|
||||
.cls-1, .cls-2 {
|
||||
fill: #f68f45;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
stroke-width: 0px;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<path class="cls-1" d="M8.3,1.8l1,1.4c.2.3,0,.6-.3.6h-2c-.3,0-.5-.4-.3-.6l1-1.4c.2-.2.5-.2.6,0Z"/>
|
||||
<path class="cls-1" d="M2,4.1v1.7c0,.3.4.5.6.3l1.6-1.2c.3-.2.2-.6-.1-.7l-1.6-.5c-.3,0-.5.1-.5.4Z"/>
|
||||
<path class="cls-1" d="M4.5,2.5l-.4,1.6c0,.3.2.6.5.5l1.9-.7c.3-.1.3-.5,0-.7l-1.4-.9c-.2-.1-.5,0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8-.8c.3-.3.4-.7.3-1.1l-.4-1.7-1.5,1.6-.4.9s-.6,1.2-.6,1.2Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
36
godot/addons/rust/NodeRustLarge.svg
Normal file
36
godot/addons/rust/NodeRustLarge.svg
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 500 500" made-by="BurritoBandit28">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #e0e0e0;
|
||||
}
|
||||
|
||||
.cls-1, .cls-2 {
|
||||
stroke-width: 0px;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #f68f45;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g id="ferris">
|
||||
<circle class="cls-2" cx="140.8" cy="232" r="40.9"/>
|
||||
<circle class="cls-2" cx="359.2" cy="232" r="40.9"/>
|
||||
<g>
|
||||
<path class="cls-2" d="M25.1,336.3v-2.2s0,0,0,0v2.2Z"/>
|
||||
<path class="cls-2" d="M25,333c0,.4,0,.7,0,1.1v-8.8c0,5.8,0,4.4,0,7.7Z"/>
|
||||
<path class="cls-2" d="M474.9,336.3v-2.2s0,0,0,0v2.1Z"/>
|
||||
<path class="cls-2" d="M472.3,113.5l-.4-.9c-6.6-14.8-24.9-24-40.7-20.4-10.7,2.4-22.1,8-29.6,0l-23-33.3c-8.1-8.8-24.9-12-37-8.6-2.4.7-4.7,1.9-6.7,3.4l-10.6,8.1c-10.6,7.5-16.1,14.6-25.2,8.2l-32.2-29.4c-5.6-4.5-12.8-4.4-16.9-4.5-4.1.1-11.4,0-16.9,4.5l-32.2,29.4c-9.1,6.4-14.6-.7-25.2-8.2l-10.6-8.1c-2-1.5-4.3-2.8-6.7-3.4-12.1-3.5-28.9-.2-37,8.6l-23,33.3c-7.5,8-18.9,2.4-29.6,0-15.8-3.6-34.1,5.6-40.7,20.4l-.4.9c-1.8,3.9-2.7,8.2-2.7,12.5v208.1c.4,88.1,47.5,124.1,75.8,125.4,94.3,4.4,93.4,12.9,106.1-19.7,2.2-5.6,2.6-10.9.5-21-4.6-21.6-10-47.5-35.1-67.1-24.1-18.9-50.7-19.8-63-19.1-3.6.2-7.1-1.5-9.2-4.4,0-.1-4-5.6-4.2-6,0,0-.2,0-.2,0h.2c0-.1,0,0,0,0,8.1-1,50.8-5.5,85.1,21.3,8.6,6.7,20,26.7,26.3,37.4,1.4,2.4,4,3.9,6.8,3.9h35.9,0s35.9,0,35.9,0c2.8,0,5.4-1.5,6.8-3.9,6.4-10.7,17.8-30.7,26.3-37.4,34.2-26.8,77-22.3,85.1-21.3,0,0,0,0,0,0h.2c0,.1-.2,0-.2,0-.3.4-4.2,5.9-4.2,6-2.1,3-5.6,4.6-9.2,4.4-12.2-.7-38.9.3-63,19.1-25.1,19.6-30.5,45.5-35.1,67.1-2.1,10.1-1.7,15.4.5,21,12.6,32.6,11.8,24.1,106.1,19.7,28.3-1.3,75.4-37.3,75.8-125.3V126c0-4.3-.9-8.6-2.7-12.5ZM132.4,293.1c-33.7,0-61.1-27.3-61.1-61.1,0-33.7,27.3-61.1,61.1-61.1,33.7,0,61.1,27.3,61.1,61.1,0,33.7-27.3,61.1-61.1,61.1ZM266.6,271.9c0,8.2-7.5,15-16.5,15s-16-6.7-16-14.9v-46.8c0-8.2,7-14.9,16-14.9s16.6,6.5,16.5,14.7v46.8ZM366.4,293.1c-32.7-.6-59.3-27.3-59.9-59.9-.6-34.6,27.6-62.9,62.2-62.2,32.7.6,59.3,27.3,59.9,59.9.6,34.6-27.6,62.9-62.2,62.2Z"/>
|
||||
<path class="cls-2" d="M474.9,325.2v8.9c0-.4,0-.7,0-1.1,0-3.3,0-2,0-7.7Z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Layer_2" data-name="Layer 2" class="cls-3">
|
||||
<path class="cls-1" d="M249,243l-.6,2.3c-.2,0-.5.2-.7.3l-2-1.2-1.4,1.4,1.2,2c-.1.2-.2.4-.3.7l-2.3.6v2l2.3.6c0,.2.2.5.3.7l-1.2,2,1.4,1.4,2-1.2c.2.1.4.2.7.3l.6,2.3h2l.6-2.3c.2,0,.5-.2.7-.3l2,1.2,1.4-1.4-1.2-2c.1-.2.2-.4.3-.7l2.3-.6v-2l-2.3-.6c0-.2-.2-.5-.3-.7l1.2-2-1.4-1.4-2,1.2c-.2-.1-.5-.2-.7-.3l-.6-2.3h-2ZM250,248c1.1,0,2,.9,2,2s-.9,2-2,2-2-.9-2-2,.9-2,2-2Z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
36
godot/addons/rust/NodeRustSmall.svg
Normal file
36
godot/addons/rust/NodeRustSmall.svg
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" made-by="BurritoBandit28">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #e0e0e0;
|
||||
}
|
||||
|
||||
.cls-1, .cls-2 {
|
||||
stroke-width: 0px;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: #f68f45;
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<g id="ferris">
|
||||
<circle class="cls-2" cx="4.5" cy="7.4" r="1.3"/>
|
||||
<circle class="cls-2" cx="11.5" cy="7.4" r="1.3"/>
|
||||
<g>
|
||||
<polygon class="cls-2" points=".8 10.8 .8 10.7 .8 10.7 .8 10.8"/>
|
||||
<path class="cls-2" d="M.8,10.7s0,0,0,0v-.3c0,.2,0,.1,0,.2Z"/>
|
||||
<polygon class="cls-2" points="15.2 10.8 15.2 10.7 15.2 10.7 15.2 10.8"/>
|
||||
<path class="cls-2" d="M15.1,3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="M7,1l-.6,2.3c-.2,0-.5.2-.7.3l-2-1.2-1.4,1.4,1.2,2c-.1.2-.2.4-.3.7l-2.3.6v2l2.3.6c0,.2.2.5.3.7l-1.2,2,1.4,1.4,2-1.2c.2.1.4.2.7.3l.6,2.3h2l.6-2.3c.2,0,.5-.2.7-.3l2,1.2,1.4-1.4-1.2-2c.1-.2.2-.4.3-.7l2.3-.6v-2l-2.3-.6c0-.2-.2-.5-.3-.7l1.2-2-1.4-1.4-2,1.2c-.2-.1-.5-.2-.7-.3l-.6-2.3h-2ZM8,6c1.1,0,2,.9,2,2s-.9,2-2,2-2-.9-2-2,.9-2,2-2Z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
132
rust/Cargo.lock
generated
132
rust/Cargo.lock
generated
@ -65,6 +65,25 @@ version = "1.0.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9"
|
||||
|
||||
[[package]]
|
||||
name = "equivalent"
|
||||
version = "1.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
||||
|
||||
[[package]]
|
||||
name = "gdext-gen"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "972edc00a1f12e61a24244da606f77d4eadf8b8f4cfc93287ddef66c7979d71f"
|
||||
dependencies = [
|
||||
"glob",
|
||||
"regex",
|
||||
"serde",
|
||||
"toml",
|
||||
"toml_edit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdextension-api"
|
||||
version = "0.3.0"
|
||||
@ -83,6 +102,12 @@ version = "0.30.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e12d847aeb25f41be4c0ec9587d624e9cd631bc007a8fd7ce3f5851e064c6460"
|
||||
|
||||
[[package]]
|
||||
name = "glob"
|
||||
version = "0.3.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
||||
|
||||
[[package]]
|
||||
name = "godot"
|
||||
version = "0.4.0"
|
||||
@ -163,16 +188,33 @@ dependencies = [
|
||||
name = "godottest_rs"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"gdext-gen",
|
||||
"godot",
|
||||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hashbrown"
|
||||
version = "0.16.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
|
||||
|
||||
[[package]]
|
||||
name = "heck"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "2.11.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4b0f83760fb341a774ed326568e19f5a863af4a952def8c39f9ab92fd95b88e5"
|
||||
dependencies = [
|
||||
"equivalent",
|
||||
"hashbrown",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "io-uring"
|
||||
version = "0.7.10"
|
||||
@ -347,6 +389,45 @@ version = "1.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.228"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
||||
dependencies = [
|
||||
"serde_core",
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_core"
|
||||
version = "1.0.228"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
||||
dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.228"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_spanned"
|
||||
version = "0.6.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "signal-hook-registry"
|
||||
version = "1.4.6"
|
||||
@ -420,6 +501,48 @@ dependencies = [
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.8.23"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362"
|
||||
dependencies = [
|
||||
"indexmap",
|
||||
"serde",
|
||||
"serde_spanned",
|
||||
"toml_datetime",
|
||||
"toml_edit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_datetime"
|
||||
version = "0.6.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "22cddaf88f4fbc13c51aebbf5f8eceb5c7c5a9da2ac40a13519eb5b0a0e8f11c"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_edit"
|
||||
version = "0.22.27"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"
|
||||
dependencies = [
|
||||
"indexmap",
|
||||
"serde",
|
||||
"serde_spanned",
|
||||
"toml_datetime",
|
||||
"toml_write",
|
||||
"winnow",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml_write"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.19"
|
||||
@ -520,3 +643,12 @@ name = "windows_x86_64_msvc"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
||||
|
||||
[[package]]
|
||||
name = "winnow"
|
||||
version = "0.7.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "21a0236b59786fed61e2a80582dd500fe61f18b5dca67a4a067d0bc9039339cf"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
||||
@ -9,3 +9,6 @@ crate-type = ["cdylib"]
|
||||
[dependencies]
|
||||
godot = { version = "0.4.0", features = ["api-4-5"] }
|
||||
tokio = { version = "1.47.1", features = ["full"] }
|
||||
|
||||
[build-dependencies]
|
||||
gdext-gen = { version = "0.1.1", features = ["dependencies", "find_icons"] }
|
||||
|
||||
34
rust/build.rs
Normal file
34
rust/build.rs
Normal file
@ -0,0 +1,34 @@
|
||||
use gdext_gen::prelude::*;
|
||||
use std::io::Result;
|
||||
|
||||
fn main() -> Result<()> {
|
||||
// All your variable initialization and setup goes here.
|
||||
generate_gdextension_file(
|
||||
BaseDirectory::ProjectFolder,
|
||||
Some("../rust/target".into()),
|
||||
Some("../godot/Rust.gdextension".into()),
|
||||
true,
|
||||
Some(Configuration::new(
|
||||
EntrySymbol::GodotRustDefault,
|
||||
Some((4, 1)),
|
||||
None,
|
||||
true,
|
||||
false,
|
||||
)),
|
||||
Some(WindowsABI::MSVC),
|
||||
Some(IconsConfig::new(
|
||||
DefaultNodeIcon::NodeRust(NodeRust::Ferris, "rust".into()),
|
||||
IconsCopyStrategy::new(true, true, "../godot/addons/rust".into(), false),
|
||||
None,
|
||||
IconsDirectories::new(
|
||||
"addons".into(),
|
||||
"editor".into(),
|
||||
"rust".into(),
|
||||
BaseDirectory::ProjectFolder.into(),
|
||||
),
|
||||
)),
|
||||
None,
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user