dio-align 0.1.0

Query direct I/O alignment requirements for a filesystem path.
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "dio-align"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Query direct I/O alignment requirements for a filesystem path."
homepage = "https://github.com/al8n/dio-align"
documentation = "https://docs.rs/dio-align"
readme = "README.md"
keywords = [
    "direct-io",
    "alignment",
    "dio",
    "block-alignment",
]
categories = [
    "filesystem",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/al8n/dio-align"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

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

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

[dependencies.rustix]
version = "1"
features = [
    "fs",
    "std",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_os = "linux")'.dependencies.smol_str]
version = "0.3"
default-features = false

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_IO",
    "Win32_System_Ioctl",
    "Win32_Security",
]

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(all_tests)",
    "cfg(tarpaulin)",
    "cfg(linux_kernel_6_1)",
    "cfg(apple)",
]

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
overflow-checks = false
incremental = false