Cargo Features

[dependencies]
secmem-proc = { version = "0.3.3", default-features = false, features = ["std", "unstable", "dev"] }
default = std

The std feature is set by default whenever secmem-proc is added without default-features = false somewhere in the dependency tree.

std default

enable functionality requiring std; note that on Windows we always depend on std transitively via the windows crate

Enables thiserror, std of anyhow, procfs and std of rustix

Affects components::check_tracer_procfs, internals::std

unstable

enable anti-tracing techniques using unstable/undocumented APIs/OS implementation details

Enables Wdk_System_Threading of windows ^0.52

Affects components::check_tracer_unstable, components::hide_thread_from_debugger_ntapi, win32::hide_thread_from_debugger, win32::is_kernelflag_debugger_present

dev

required features to run tests; additional features enable more tests