Cargo Features

Cableguard has no features set by default.

[dependencies]
cableguard = { version = "0.90.15", features = ["device", "jni-bindings", "ffi-bindings", "mock-instant"] }
device = socket2, thiserror

Affects cableguard::device

jni-bindings = ffi-bindings, jni

Affects cableguard::jni

ffi-bindings jni-bindings? = tracing-subscriber

Affects cableguard::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.

tracing-subscriber ffi-bindings?
jni jni-bindings?
mock_instant mock-instant?

Enables mock_instant ^0.3.1

socket2 device?
thiserror device?

Enables thiserror ^1