| Crates.io | quad-url |
| lib.rs | quad-url |
| version | 0.1.2 |
| created_at | 2021-03-22 20:16:12.95534+00 |
| updated_at | 2025-05-21 18:54:53.738136+00 |
| description | Plugin for macro-, mini-quad (quads) to do anything with url. |
| homepage | https://github.com/optozorax/quad-url |
| repository | https://github.com/optozorax/quad-url |
| max_upload_size | |
| id | 372284 |
| size | 55,812 |
This is the crate to work with URL and open links in miniquad/macroquad environment.
Add this to your Cargo.toml dependencies:
quad-url = "0.1.0"
Add file quad-url/js/quad-url.js to your project.
Add file sapp-jsutils/js/sapp_jsutils.js file to your project. (version 0.1.4, compatible with current crate)
Add this lines after loading of gl.js and before loading of your wasm in your index.html:
<script src="sapp_jsutils.js"></script>
<script src="quad-url.js"></script>
Done! Now you can use this crate.