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
|
[package]
name = "tempfile"
version = "3.24.0"
authors = [
"Steven Allen <steven@stebalien.com>",
"The Rust Project Developers",
"Ashley Mannix <ashleymannix@live.com.au>",
"Jason White <me@jasonwhite.io>",
]
documentation = "https://docs.rs/tempfile"
edition = "2021"
rust-version = "1.63"
homepage = "https://stebalien.com/projects/tempfile-rs/"
keywords = ["tempfile", "tmpfile", "filesystem"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Stebalien/tempfile"
description = "A library for managing temporary files and directories."
include = ["CHANGELOG.md", "Cargo.toml", "LICENSE-*", "README.md", "src/**/*.rs", "tests/**/*.rs"]
[dependencies]
fastrand = "2.1.1"
# Not available in stdlib until 1.70, but we support 1.63 to support Debian stable.
once_cell = { version = "1.19.0", default-features = false, features = ["std"] }
[target.'cfg(any(unix, windows, target_os = "wasi"))'.dependencies]
getrandom = { version = "0.3.0", default-features = false, optional = true }
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies]
rustix = { version = "1.1.3", features = ["fs"] }
[target.'cfg(windows)'.dependencies.windows-sys]
version = ">=0.52, <0.62"
features = [
"Win32_Storage_FileSystem",
"Win32_Foundation",
]
[dev-dependencies]
doc-comment = "0.3"
[features]
default = ["getrandom"]
nightly = [] # DEPRECATED
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
|