| 1 |
[package] |
| 2 |
name = "tempfile" |
| 3 |
version = "3.24.0" |
| 4 |
authors = [ |
| 5 |
"Steven Allen <[email protected]>", |
| 6 |
"The Rust Project Developers", |
| 7 |
"Ashley Mannix <[email protected]>", |
| 8 |
"Jason White <[email protected]>", |
| 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 |
include = ["CHANGELOG.md", "Cargo.toml", "LICENSE-*", "README.md", "src/**/*.rs", "tests/**/*.rs"] |
| 20 |
|
| 21 |
[dependencies] |
| 22 |
fastrand = "2.1.1" |
| 23 |
# Not available in stdlib until 1.70, but we support 1.63 to support Debian stable. |
| 24 |
once_cell = { version = "1.19.0", default-features = false, features = ["std"] } |
| 25 |
|
| 26 |
[target.'cfg(any(unix, windows, target_os = "wasi"))'.dependencies] |
| 27 |
getrandom = { version = "0.3.0", default-features = false, optional = true } |
| 28 |
|
| 29 |
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies] |
| 30 |
rustix = { version = "1.1.3", features = ["fs"] } |
| 31 |
|
| 32 |
[target.'cfg(windows)'.dependencies.windows-sys] |
| 33 |
version = ">=0.52, <0.62" |
| 34 |
features = [ |
| 35 |
"Win32_Storage_FileSystem", |
| 36 |
"Win32_Foundation", |
| 37 |
] |
| 38 |
|
| 39 |
[dev-dependencies] |
| 40 |
doc-comment = "0.3" |
| 41 |
|
| 42 |
[features] |
| 43 |
default = ["getrandom"] |
| 44 |
nightly = [] # DEPRECATED |
| 45 |
|
| 46 |
[package.metadata.docs.rs] |
| 47 |
rustdoc-args = ["--generate-link-to-definition"] |