File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ pretty_env_logger = "0.5"
5050pnet_datalink = " 0.35.0"
5151
5252[target .'cfg(target_os = "macos")' .dependencies ]
53- system-configuration = { version = " >=0.5, < 0.7" , optional = true }
53+ system-configuration = { version = " 0.7" , optional = true }
5454
5555[target .'cfg(windows)' .dependencies ]
5656windows-registry = { version = " >=0.3, <0.7" , optional = true }
Original file line number Diff line number Diff line change @@ -586,7 +586,11 @@ mod mac {
586586 } ;
587587
588588 pub ( super ) fn with_system ( builder : & mut super :: Builder ) {
589- let store = SCDynamicStoreBuilder :: new ( "" ) . build ( ) ;
589+ let store = if let Some ( store) = SCDynamicStoreBuilder :: new ( "hyper-util" ) . build ( ) {
590+ store
591+ } else {
592+ return ;
593+ } ;
590594
591595 let proxies_map = if let Some ( proxies_map) = store. get_proxies ( ) {
592596 proxies_map
You can’t perform that action at this time.
0 commit comments