blkmap 0.1.0

Query file physical extents (FIEMAP) for a given range on disk
Documentation
[package]
name = "blkmap"
version = "0.1.0"
edition = "2021"
authors = ["SF-Zhou"]
description = "Query file physical extents (FIEMAP) for a given range on disk"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/SF-Zhou/blkmap"
keywords = ["fiemap", "extent", "filesystem", "block", "ioctl"]
categories = ["filesystem", "os::linux-apis"]

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

[[bin]]
name = "blkmap"
path = "src/bin/blkmap.rs"

[dependencies]
bitflags = "2"
libc = "0.2"
clap = { version = "4", features = ["derive"] }

[dev-dependencies]
tempfile = "3"

[target.'cfg(not(target_os = "linux"))'.dependencies]
# This crate only works on Linux