[package]
edition = "2021"
name = "file_alloc"
version = "0.1.2"
authors = ["share121 <me@s121.top>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "跨平台、高性能、兼容性好的文件大小分配库"
homepage = "https://github.com/share121/file_alloc"
readme = "README.md"
keywords = [
"file",
"allocation",
"preallocate",
"cross-platform",
]
categories = [
"filesystem",
"asynchronous",
"os",
]
license = "MIT"
repository = "https://github.com/share121/file_alloc"
[lib]
name = "file_alloc"
path = "src/lib.rs"
[dependencies.tokio]
version = "1.50.0"
features = [
"fs",
"io-util",
"rt",
]
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.50.0"
features = ["full"]
[target."cfg(unix)".dependencies.rustix]
version = "1.1.4"
features = ["fs"]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Threading",
]
[lints.clippy]
multiple_crate_versions = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1