aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/bin
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-10-31 16:26:42 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-10-31 16:26:42 -0700
commitb80360a2cfe87b4e4dd24f06010642976b858f26 (patch)
tree6a03464326a5678f50d6d5f3b2ada80249fb8aee /adenosine-pds/src/bin
parent10a90a353a3bb46652a42b0e01834fd158fd600d (diff)
downloadadenosine-b80360a2cfe87b4e4dd24f06010642976b858f26.tar.gz
adenosine-b80360a2cfe87b4e4dd24f06010642976b858f26.zip
pds: switch to blocking web framework
Diffstat (limited to 'adenosine-pds/src/bin')
-rw-r--r--adenosine-pds/src/bin/adenosine-pds.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs
index 3a00fac..5d0e638 100644
--- a/adenosine-pds/src/bin/adenosine-pds.rs
+++ b/adenosine-pds/src/bin/adenosine-pds.rs
@@ -53,8 +53,7 @@ enum Command {
Inspect,
}
-#[tokio::main]
-async fn main() -> Result<()> {
+fn main() -> Result<()> {
let opt = Opt::from_args();
let log_level = match opt.verbose {
@@ -77,7 +76,7 @@ async fn main() -> Result<()> {
match opt.cmd {
Command::Serve {} => {
// TODO: log some config stuff?
- run_server().await
+ run_server()
},
Command::Import {} => {
unimplemented!()