Cargo Features

[dependencies]
junction = { version = "1.2.0", default-features = false, features = ["nightly", "unstable_admin"] }
default = unstable_admin

The unstable_admin feature is set by default whenever junction is added without default-features = false somewhere in the dependency tree.

nightly

Unstable flag

Flag for trying out new rust language features

unstable_admin default

Unstable flag

Enable the SE_BACKUP_NAME and SE_RESTORE_NAME access privileges. They are needed to open system directory junctions (such as "C:\Documents and Settings") to read. For more info, please read https://en.wikipedia.org/wiki/NTFS_reparse_point#Directory_junctions.

Why is this flag unstable?

Maybe it would be better to save and restore the old privileges after setting SE_RESTORE_NAME. A user with SE_RESTORE_NAME privilege could easily overwrite almost any file on the system.