1 | [package] |
2 | name = "tempfile" |
3 | version = "3.19.1" |
4 | authors = [ |
5 | "Steven Allen <steven@stebalien.com>" , |
6 | "The Rust Project Developers" , |
7 | "Ashley Mannix <ashleymannix@live.com.au>" , |
8 | "Jason White <me@jasonwhite.io>" , |
9 | ] |
10 | documentation = "https://docs.rs/tempfile" |
11 | edition = "2021" |
12 | rust-version = "1.63" |
13 | homepage = "https://stebalien.com/projects/tempfile-rs/" |
14 | keywords = ["tempfile" , "tmpfile" , "filesystem" ] |
15 | license = "MIT OR Apache-2.0" |
16 | repository = "https://github.com/Stebalien/tempfile" |
17 | description = "A library for managing temporary files and directories." |
18 | |
19 | [dependencies] |
20 | fastrand = "2.1.1" |
21 | # Not available in stdlib until 1.70, but we support 1.63 to support Debian stable. |
22 | once_cell = { version = "1.19.0" , default-features = false, features = ["std" ] } |
23 | |
24 | [target.'cfg(any(unix, windows, target_os = "wasi"))'.dependencies] |
25 | getrandom = { version = "0.3.0" , default-features = false, optional = true } |
26 | |
27 | [target.'cfg(any(unix, target_os = "wasi"))'.dependencies] |
28 | rustix = { version = "1.0.0" , features = ["fs" ] } |
29 | |
30 | [target.'cfg(windows)'.dependencies.windows-sys] |
31 | version = ">=0.52,<0.60" |
32 | features = [ |
33 | "Win32_Storage_FileSystem" , |
34 | "Win32_Foundation" , |
35 | ] |
36 | |
37 | [dev-dependencies] |
38 | doc-comment = "0.3" |
39 | |
40 | [features] |
41 | default = ["getrandom" ] |
42 | nightly = [] |
43 | # DEPRECATED unstable feature, will be removed in the near future. |
44 | unstable-windows-keep-open-tempfile = [] |
45 | |