mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 06:23:08 -08:00
chore: Feature naming scheme fully applied
experimental_broker_api -> experiment_broker_api
This commit is contained in:
@@ -69,7 +69,7 @@ tempfile = { workspace = true }
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
experiment_memfd_secret = ["rosenpass-wireguard-broker/experiment_memfd_secret"]
|
experiment_memfd_secret = ["rosenpass-wireguard-broker/experiment_memfd_secret"]
|
||||||
experiment_broker_api = ["rosenpass-wireguard-broker/experimental_broker_api", "command-fds"]
|
experiment_broker_api = ["rosenpass-wireguard-broker/experiment_broker_api", "command-fds"]
|
||||||
experiment_libcrux = ["rosenpass-ciphers/experiment_libcrux"]
|
experiment_libcrux = ["rosenpass-ciphers/experiment_libcrux"]
|
||||||
experiment_api = ["hex-literal"]
|
experiment_api = ["hex-literal"]
|
||||||
internal_testing = []
|
internal_testing = []
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ rand = {workspace = true}
|
|||||||
procspawn = {workspace = true}
|
procspawn = {workspace = true}
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
experimental_broker_api = ["rustix", "libc"]
|
experiment_broker_api = ["rustix", "libc"]
|
||||||
experiment_memfd_secret = []
|
experiment_memfd_secret = []
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
@@ -46,7 +46,7 @@ name = "rosenpass-wireguard-broker-privileged"
|
|||||||
path = "src/bin/priviledged.rs"
|
path = "src/bin/priviledged.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
doc = false
|
||||||
required-features = ["experimental_broker_api"]
|
required-features = ["experiment_broker_api"]
|
||||||
cfg = { target_os = "linux" }
|
cfg = { target_os = "linux" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
@@ -54,5 +54,5 @@ name = "rosenpass-wireguard-broker-socket-handler"
|
|||||||
test = false
|
test = false
|
||||||
path = "src/bin/socket_handler.rs"
|
path = "src/bin/socket_handler.rs"
|
||||||
doc = false
|
doc = false
|
||||||
required-features = ["experimental_broker_api"]
|
required-features = ["experiment_broker_api"]
|
||||||
cfg = { target_os = "linux" }
|
cfg = { target_os = "linux" }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#[cfg(feature = "experimental_broker_api")]
|
#[cfg(feature = "experiment_broker_api")]
|
||||||
pub mod mio_client;
|
pub mod mio_client;
|
||||||
#[cfg(all(feature = "experimental_broker_api", target_os = "linux"))]
|
#[cfg(all(feature = "experiment_broker_api", target_os = "linux"))]
|
||||||
pub mod netlink;
|
pub mod netlink;
|
||||||
|
|
||||||
pub mod native_unix;
|
pub mod native_unix;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ pub trait WireguardBrokerMio: WireGuardBroker {
|
|||||||
fn unregister(&mut self, registry: &mio::Registry) -> Result<(), Self::MioError>;
|
fn unregister(&mut self, registry: &mio::Registry) -> Result<(), Self::MioError>;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "experimental_broker_api")]
|
#[cfg(feature = "experiment_broker_api")]
|
||||||
pub mod api;
|
pub mod api;
|
||||||
|
|
||||||
pub mod brokers;
|
pub mod brokers;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#[cfg(feature = "experimental_broker_api")]
|
#[cfg(feature = "experiment_broker_api")]
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod integration_tests {
|
mod integration_tests {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user