summaryrefslogtreecommitdiff
path: root/vendor/tempfile/Cargo.toml
blob: a49159c3b6b36026498f394d20908f7daeeefabd (plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.63"
name = "tempfile"
version = "3.20.0"
authors = [
    "Steven Allen <steven@stebalien.com>",
    "The Rust Project Developers",
    "Ashley Mannix <ashleymannix@live.com.au>",
    "Jason White <me@jasonwhite.io>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for managing temporary files and directories."
homepage = "https://stebalien.com/projects/tempfile-rs/"
documentation = "https://docs.rs/tempfile"
readme = "README.md"
keywords = [
    "tempfile",
    "tmpfile",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Stebalien/tempfile"

[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

[features]
default = ["getrandom"]
nightly = []
unstable-windows-keep-open-tempfile = []

[lib]
name = "tempfile"
path = "src/lib.rs"

[[test]]
name = "env"
path = "tests/env.rs"

[[test]]
name = "namedtempfile"
path = "tests/namedtempfile.rs"

[[test]]
name = "spooled"
path = "tests/spooled.rs"

[[test]]
name = "tempdir"
path = "tests/tempdir.rs"

[[test]]
name = "tempfile"
path = "tests/tempfile.rs"

[dependencies.fastrand]
version = "2.1.1"

[dependencies.once_cell]
version = "1.19.0"
features = ["std"]
default-features = false

[dev-dependencies.doc-comment]
version = "0.3"

[target.'cfg(any(unix, target_os = "wasi"))'.dependencies.rustix]
version = "1.0.0"
features = ["fs"]

[target.'cfg(any(unix, windows, target_os = "wasi"))'.dependencies.getrandom]
version = "0.3.0"
optional = true
default-features = false

[target."cfg(windows)".dependencies.windows-sys]
version = ">=0.52,<0.60"
features = [
    "Win32_Storage_FileSystem",
    "Win32_Foundation",
]