887 / dxp-todo-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example hello world app using Rust Poem Framework with Hot Lib Reload Functionality

Uses 3 tokio channels to communicate between tokio tasks. Uses a mutex to synchronize reloads.

Features

  • poem-web/poem: built on top of the rust poem framework.
  • hot-lib-reloader-rs: includes hot reload functionality.

watch command lib only

cargo watch -w server 'build -p server'

watch command lib and migrations

cargo watch -w server -w migration -x 'build -p server -p migration-runner'

run

cargo run

About

License:MIT License


Languages

Language:Rust 99.2%Language:JavaScript 0.8%