[university] Find publicly accessible power sockets in your city! Backend server
Find a file
2023-02-05 04:28:52 +01:00
src Move Message to separate module 2020-09-16 23:09:25 +02:00
.gitignore Initial commit 2019-10-17 23:54:20 +02:00
Cargo.lock Upgrade bytes, http, hyper 2020-09-12 01:45:11 +02:00
Cargo.toml Upgrade bytes, http, hyper 2020-09-12 01:45:11 +02:00
README.md Update README.md 2023-02-05 04:27:55 +01:00
rustfmt.toml rustfmt 2020-08-27 00:14:17 +02:00

mug-bancha

Find publicly accessible power sockets in your city! Backend server

This project is discontinued.

Building from source

Requirements

  • Rust toolchain (preferably stable) supporting the 2018 edition

Build

Clone the repository and cd into it, then run cargo build.

$ git clone https://github.com/baatochan/mug-bancha.git
$ cd mug-bancha
$ cargo build

Test

Run tests with cargo test -- --test-threads 1. Parallel test execution is temporarily not supported because of the way the in-memory storage is initialised. A solution is currently in progress.

Run

Run with cargo run. The server listens on 127.0.0.1:3000 by default.