Cargo Features

defguard_boringtun has no features set by default.

[dependencies]
defguard_boringtun = { version = "0.6.5", features = ["device", "ffi-bindings", "mock-instant"] }
device = socket2, thiserror

Affects defguard_boringtun::device

ffi-bindings = tracing-subscriber

Affects defguard_boringtun::ffi

mock-instant = mock_instant

mocks std::time::Instant with mock_instant

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

mock_instant mock-instant?
socket2 device?
thiserror device?
tracing-subscriber ffi-bindings?