diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-10-31 16:26:42 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-10-31 16:26:42 -0700 |
commit | b80360a2cfe87b4e4dd24f06010642976b858f26 (patch) | |
tree | 6a03464326a5678f50d6d5f3b2ada80249fb8aee /adenosine-pds/src/bin/adenosine-pds.rs | |
parent | 10a90a353a3bb46652a42b0e01834fd158fd600d (diff) | |
download | adenosine-b80360a2cfe87b4e4dd24f06010642976b858f26.tar.gz adenosine-b80360a2cfe87b4e4dd24f06010642976b858f26.zip |
pds: switch to blocking web framework
Diffstat (limited to 'adenosine-pds/src/bin/adenosine-pds.rs')
-rw-r--r-- | adenosine-pds/src/bin/adenosine-pds.rs | 5 |
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!() |