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 whenever win32-remove-dir-all is added without default-features = false somewhere in the dependency tree.

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 Shell SHFileOperationW function will be used exclusively on all versions of Windows.

Enables libloaderapi, objbase, shobjidl_core and winerror of winapi

Enables symlink removal tests. This requires specific privileges (SeCreateSymbolicLink, or Developer Mode as of Windows 10 Creators Update), so it is disabled by default.