Spout bindings to Rust. Initially created for usage with Godot and gdext.
Uses a fork of Spout2 with all the precompiled dlls, libs, and exes removed.
A Godot GDExtension-compatible library can be built with the godot feature enabled.
Build using the included build.sh utility. Because of the dependency on building Spout2,
building the crate is more complicated than just running cargo build.
Run: build.sh [debug|release|package|clean]
If using package, a new directory will be created in the project root containing the
compiled library along with SpoutLibrary.dll.
cargo buildorcargo build --release- Find the build
$OUT_DIR/bindirectory - Copy the compiled
SpoutLibrary.dllto be next to your binary
Before building and running any example, make sure the library itself has been built using the instructions in Building.
- Run
cargo build --example send && cargo build --example receive - Copy the examples from
target/debug/examplestotarget/debug, since they need to be next to theSpoutLibrary.dllto work. Alternatively, copy theSpoutLibrary.dllintotarget/debug/examplesso thatcargo run --example [send|receive]just works
MPL-2.0