Cargo Features
[dependencies]
win32-remove-dir-all = { version = "0.1.0", default-features = false, features = ["property_system_api", "symlink_tests"] }
- default = property_system_api
-
The
property_system_api
feature is set by default wheneverwin32-remove-dir-all
is added without
somewhere in the dependency tree.default-features = false - property_system_api default
-
Enables support for using the Windows Property System and
IFileOperation
for directory removal if supported by the OS. If disabled, the Windows ShellSHFileOperationW
function will be used exclusively on all versions of Windows.Enables libloaderapi, objbase, shobjidl_core and winerror of winapi
- symlink_tests
-
Enables symlink removal tests. This requires specific privileges (
SeCreateSymbolicLink
, or Developer Mode as of Windows 10 Creators Update), so it is disabled by default.