diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index a59406e..7c6a57a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,11 @@ // https://tools.ietf.org/rfc/rfc5128.txt // https://blog.csdn.net/bytxl/article/details/44344855 +use hbb_common::{env_logger, log, tokio, ResultType}; use hbbs::*; #[tokio::main] -async fn main() -> Result<(), Box<dyn std::error::Error>> { +async fn main() -> ResultType<()> { env_logger::init(); let addr = "0.0.0.0:21116"; log::info!("Start Server {}", addr); |