New dependancies

Fixing a bunch of things that cargo complains about but that really has no effect on me as a person
This commit is contained in:
shockrah 2020-11-17 23:46:03 -08:00
parent 774e7c679e
commit eaec922693
4 changed files with 430 additions and 361 deletions

785
server-api/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@ version = "0.1.0"
authors = ["shockrah <alejandros714@protonmail.com>"]
edition = "2018"
[workspace]
[dependencies]
tokio = { version = "0.2", features=["full"] }
hyper = "0.13"

View File

@ -94,7 +94,9 @@ impl FromDB<Channel, Integer> for Channel {
Err(_) => Response::Other(sql_err!("Member::FromDB::delete Listen i dont know either"))
}
}
return Response::Other(no_conn!("Member::FromDB::delete"))
else {
return Response::Other(no_conn!("Member::FromDB::delete"))
}
}
async fn filter(p: &Pool, kind: Integer) -> Response<Channel> {

View File

@ -1,3 +1,4 @@
extern crate db;
extern crate chrono;
extern crate clap;
extern crate dotenv;