mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-01-07 09:42:23 -08:00
feature cleanup
This commit is contained in:
parent
a842ad8b61
commit
d4ee95e445
2 changed files with 26 additions and 13 deletions
|
|
@ -14,15 +14,20 @@ use std::ffi::{CStr, CString};
|
|||
use std::os::raw::c_char;
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
use std::os::raw::c_void;
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
use std::sync::Arc;
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
use std::time::Duration;
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
use tokio::runtime;
|
||||
use url::Url;
|
||||
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
static mut RT: Option<tokio::runtime::Runtime> = None;
|
||||
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
static START: std::sync::Once = std::sync::Once::new();
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
static SHUTDOWN: std::sync::Once = std::sync::Once::new();
|
||||
|
||||
#[cfg(feature = "ztcontroller")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue