veilid-server with Clap v4

This commit is contained in:
Δ ǀ Ξ ȼ
2023-08-22 21:12:23 +00:00
committed by Christien Rioux
parent 41af6d4c5b
commit 5b2b27cb31
8 changed files with 321 additions and 428 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
use crate::settings::*;
use crate::*;
use clap::ArgMatches;
use std::ffi::OsString;
use std::time::Duration;
use tracing::*;
@@ -12,7 +11,7 @@ use windows_service::*;
// Register generated `ffi_service_main` with the system and start the service, blocking
// this thread until the service is stopped.
pub fn run_service(settings: Settings, matches: ArgMatches) -> EyreResult<()> {
pub fn run_service(settings: Settings, _args: CmdlineArgs) -> EyreResult<()> {
eprintln!("Windows Service mode not implemented yet.");
//service_dispatcher::start("veilid-server", ffi_veilid_service_main)?;