| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.63" |
| 15 |
name = "tempfile" |
| 16 |
version = "3.16.0" |
| 17 |
authors = [ |
| 18 |
"Steven Allen <[email protected]>", |
| 19 |
"The Rust Project Developers", |
| 20 |
"Ashley Mannix <[email protected]>", |
| 21 |
"Jason White <[email protected]>", |
| 22 |
] |
| 23 |
build = false |
| 24 |
autolib = false |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "A library for managing temporary files and directories." |
| 30 |
homepage = "https://stebalien.com/projects/tempfile-rs/" |
| 31 |
documentation = "https://docs.rs/tempfile" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"tempfile", |
| 35 |
"tmpfile", |
| 36 |
"filesystem", |
| 37 |
] |
| 38 |
license = "MIT OR Apache-2.0" |
| 39 |
repository = "https://github.com/Stebalien/tempfile" |
| 40 |
|
| 41 |
[lib] |
| 42 |
name = "tempfile" |
| 43 |
path = "src/lib.rs" |
| 44 |
|
| 45 |
[[test]] |
| 46 |
name = "env" |
| 47 |
path = "tests/env.rs" |
| 48 |
|
| 49 |
[[test]] |
| 50 |
name = "namedtempfile" |
| 51 |
path = "tests/namedtempfile.rs" |
| 52 |
|
| 53 |
[[test]] |
| 54 |
name = "spooled" |
| 55 |
path = "tests/spooled.rs" |
| 56 |
|
| 57 |
[[test]] |
| 58 |
name = "tempdir" |
| 59 |
path = "tests/tempdir.rs" |
| 60 |
|
| 61 |
[[test]] |
| 62 |
name = "tempfile" |
| 63 |
path = "tests/tempfile.rs" |
| 64 |
|
| 65 |
[dependencies.cfg-if] |
| 66 |
version = "1" |
| 67 |
|
| 68 |
[dependencies.fastrand] |
| 69 |
version = "2.1.1" |
| 70 |
|
| 71 |
[dependencies.once_cell] |
| 72 |
version = "1.19.0" |
| 73 |
features = ["std"] |
| 74 |
default-features = false |
| 75 |
|
| 76 |
[dev-dependencies.doc-comment] |
| 77 |
version = "0.3" |
| 78 |
|
| 79 |
[features] |
| 80 |
default = ["getrandom"] |
| 81 |
nightly = [] |
| 82 |
|
| 83 |
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies.rustix] |
| 84 |
version = "0.38.39" |
| 85 |
features = ["fs"] |
| 86 |
|
| 87 |
[target.'cfg(any(unix, windows, target_os = "wasi"))'.dependencies.getrandom] |
| 88 |
version = "0.3.0" |
| 89 |
optional = true |
| 90 |
default-features = false |
| 91 |
|
| 92 |
[target."cfg(windows)".dependencies.windows-sys] |
| 93 |
version = ">=0.52,<0.60" |
| 94 |
features = [ |
| 95 |
"Win32_Storage_FileSystem", |
| 96 |
"Win32_Foundation", |
| 97 |
] |