This commit is contained in:
Cadey Ratio 2020-08-25 16:04:46 -04:00
parent 3de2d10f90
commit 310c018d0c
4 changed files with 8 additions and 3 deletions

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
# Changelog
## 0.3.0
- Rewrite using async rust

2
Cargo.lock generated
View File

@ -58,7 +58,7 @@ checksum = "130aac562c0dd69c56b3b1cc8ffd2e17be31d0b6c25b61c96b76231aa23e39e1"
[[package]] [[package]]
name = "cabytcini" name = "cabytcini"
version = "0.2.1" version = "0.2.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "cabytcini" name = "cabytcini"
version = "0.2.1" version = "0.2.2"
authors = ["Christine Dodrill <me@christine.website>"] authors = ["Christine Dodrill <me@christine.website>"]
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"

View File

@ -38,7 +38,7 @@ fn handle_client(stream: UnixStream, st: MTState) {
stream.shutdown(Shutdown::Both).expect("socket to close"); stream.shutdown(Shutdown::Both).expect("socket to close");
} }
const UPDATE_FREQUENCY: u64 = 250; const UPDATE_FREQUENCY: u64 = 1000;
fn update_every_so_often(st: MTState) { fn update_every_so_often(st: MTState) {
loop { loop {