Crates.io | tuna-web |
lib.rs | tuna-web |
version | 0.0.2 |
source | src |
created_at | 2021-05-16 20:58:57.489401 |
updated_at | 2021-05-17 16:22:36.597019 |
description | Web GUI for tuna |
homepage | https://github.com/tgolsson/tuna |
repository | https://github.com/tgolsson/tuna |
max_upload_size | |
id | 398342 |
size | 127,410 |
Web frontend for the Tuna CVAR tool to allow browser access to variables.
fn main() {
let mut server = tuna_web::TunaServer::new(4450).unwrap();
/* Set up variables etc */
loop {
server.loop_once(); // will handle all pollable connections - individual clients will run on threads
/* Other logic */
}
}
Note that tuna-web
is a work in progress! I'm working on it due to a need, but
I want to dogfood it while I build it - not build a whole thing on its own.