1 unstable release

new 0.0.10 Nov 14, 2024

#2079 in Game dev


Used in 6 crates (3 directly)

MIT license

11KB
122 lines

Swamp Loader 🐊

Welcome to Swamp Loader! This tiny but mighty library lets you load files as Blobs and send them wherever they're needed, all in async style! Just think of it as a special delivery service for your asset files, from storage to wherever you need them in your app.

✨ Features

  • Reads files asynchronously with any AssetReader you provide.
  • Wraps the file path and content in a handy Blob.
  • Sends the Blob through a channel so other parts of your app can use it.

📦 Installation

To use swamp-loader, add it to your Cargo.toml:

[dependencies]
swamp-loader = "0.0.10"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contents credits

Dependencies

~0.7–12MB
~89K SLoC