@@ -13,11 +13,11 @@ mod settings;
1313
1414use self :: settings:: { EndpointSettings , HttpServerSettings , ResponseSettings } ;
1515use anyhow:: anyhow;
16+ use foundations:: BootstrapResult ;
1617use foundations:: addr:: ListenAddr ;
1718use foundations:: cli:: { Arg , ArgAction , Cli } ;
1819use foundations:: settings:: collections:: Map ;
19- use foundations:: telemetry:: { self , log, tracing, TelemetryConfig , TelemetryContext } ;
20- use foundations:: BootstrapResult ;
20+ use foundations:: telemetry:: { self , TelemetryConfig , TelemetryContext , log, tracing} ;
2121use futures_util:: stream:: { FuturesUnordered , StreamExt } ;
2222use http_body_util:: Full ;
2323use hyper:: body:: { Bytes , Incoming } ;
@@ -38,10 +38,12 @@ async fn main() -> BootstrapResult<()> {
3838 // the config without running the server.
3939 let cli = Cli :: < HttpServerSettings > :: new (
4040 & service_info,
41- vec ! [ Arg :: new( "dry-run" )
42- . long( "dry-run" )
43- . action( ArgAction :: SetTrue )
44- . help( "Validate or generate config without running the server" ) ] ,
41+ vec ! [
42+ Arg :: new( "dry-run" )
43+ . long( "dry-run" )
44+ . action( ArgAction :: SetTrue )
45+ . help( "Validate or generate config without running the server" ) ,
46+ ] ,
4547 ) ?;
4648
4749 // Exit if we just want to check the config.
@@ -253,7 +255,7 @@ fn sandbox_syscalls() -> BootstrapResult<()> {
253255 use foundations:: security:: common_syscall_allow_lists:: {
254256 ASYNC , NET_SOCKET_API , SERVICE_BASICS ,
255257 } ;
256- use foundations:: security:: { allow_list , enable_syscall_sandboxing , ViolationAction } ;
258+ use foundations:: security:: { ViolationAction , allow_list , enable_syscall_sandboxing } ;
257259
258260 allow_list ! {
259261 static ALLOWED = [
0 commit comments