Crates.io | razer |
lib.rs | razer |
version | 0.1.5 |
source | src |
created_at | 2022-05-23 14:01:18.335372 |
updated_at | 2022-05-28 16:05:17.998045 |
description | A server side way to controll your website with rust |
homepage | |
repository | https://github.com/AMTitan/razer |
max_upload_size | |
id | 591818 |
size | 46,950 |
Control your site with rust
To add the script all you will have to do is add this to your html
<script src="https://cdn.jsdelivr.net/gh/AMTitan/razer@(your version)/js/razer.min.js"></script>
so an example would be
<script src="https://cdn.jsdelivr.net/gh/AMTitan/razer@0.1.4/js/razer.min.js"></script>
To start hosting a server go to this url https://crates.io/crates/razer and on the right it says install copy that line and put it in your Cargo.toml
You can read the examples I have made and work off of those and the documentation is here https://docs.rs/razer/