mirror of
https://github.com/arampoire/onetun.git
synced 2026-01-16 08:20:23 -05:00
Move FFI to its own feature
This commit is contained in:
parent
3ad2ad4540
commit
9ced7c9c6e
2 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ pretty_env_logger = { version = "0.4", optional = true }
|
|||
|
||||
[features]
|
||||
pcap = []
|
||||
ffi = []
|
||||
default = [ "bin" ]
|
||||
bin = [ "clap", "pretty_env_logger", "pcap", "tokio/rt-multi-thread" ]
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ use crate::wg::WireGuardTunnel;
|
|||
|
||||
pub mod config;
|
||||
pub mod events;
|
||||
#[cfg(feature = "lib")]
|
||||
#[cfg(feature = "ffi")]
|
||||
pub mod ffi;
|
||||
#[cfg(feature = "pcap")]
|
||||
pub mod pcap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue