fix server

This commit is contained in:
John Smith 2022-12-01 17:38:43 -05:00
parent b5c87e4882
commit 5d8fa97360
6 changed files with 6 additions and 9 deletions

View File

@ -8,7 +8,7 @@ use serde::de::DeserializeOwned;
use std::cell::RefCell;
use std::net::SocketAddr;
use std::rc::Rc;
use veilid_core::xx::*;
use veilid_core::tools::*;
use veilid_core::*;
macro_rules! capnp_failed {

View File

@ -6,7 +6,7 @@ use std::cell::*;
use std::net::SocketAddr;
use std::rc::Rc;
use std::time::{Duration, SystemTime};
use veilid_core::xx::*;
use veilid_core::tools::*;
use veilid_core::*;
pub fn convert_loglevel(s: &str) -> Result<VeilidConfigLogLevel, String> {

View File

@ -1,7 +1,7 @@
#![deny(clippy::all)]
#![deny(unused_must_use)]
use veilid_core::xx::*;
use veilid_core::tools::*;
use clap::{Arg, ColorChoice, Command};
use flexi_logger::*;

View File

@ -11,7 +11,7 @@ use parking_lot::Mutex;
use std::sync::Arc;
use std::time::{Duration, Instant};
use tracing::*;
use veilid_core::xx::SingleShotEventual;
use veilid_core::tools::SingleShotEventual;
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum ServerMode {

View File

@ -1,16 +1,13 @@
#![allow(clippy::bool_assert_comparison)]
use directories::*;
use parking_lot::*;
use serde_derive::*;
use std::ffi::OsStr;
use std::net::SocketAddr;
use std::path::{Path, PathBuf};
use std::str::FromStr;
use std::sync::Arc;
use url::Url;
use veilid_core::xx::*;
use veilid_core::tools::*;
use veilid_core::*;
pub fn load_default_config() -> EyreResult<config::Config> {

View File

@ -19,7 +19,7 @@ use tracing::*;
use tracing_subscriber::prelude::*;
use tracing_subscriber::*;
use tracing_wasm::{WASMLayerConfigBuilder, *};
use veilid_core::xx::*;
use veilid_core::tools::*;
use veilid_core::*;
use wasm_bindgen_futures::*;