-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
63 lines (58 loc) · 1.76 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "junction"
version = "1.2.0" # Also update `html_root_url` in lib.rs
authors = ["Lzu Tao <taolzu@gmail.com>"]
categories = ["api-bindings", "os::windows-apis"]
edition = "2021"
rust-version = "1.57"
exclude = [
"/.github",
"/HOW-TO-RELEASE.md",
]
keywords = ["junction", "symlink"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tesuji/junction"
description = "library for working with NTFS junctions"
[features]
default = ["unstable_admin"]
# # Unstable flag
#
# Flag for trying out new rust language features
nightly = []
# # 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.
unstable_admin = []
[package.metadata.docs.rs]
targets = ["x86_64-pc-windows-msvc"]
[target.'cfg(windows)'.dependencies.scopeguard]
version = "1"
default-features = false
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.52"
default-features = false
features = [
"Win32_System_Ioctl",
"Win32_System_SystemServices",
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Threading",
]
[dev-dependencies]
tempfile = "=3.8.0"
# NOTE: rustix is used by tempfile, to force tempfile use an old version
# of it that is compatible with MSRV.
# MSRV: v0.38.9+ has newer dep:core syntax that old rustc (<1.60) confuses.
rustix = "=0.38.9"