crosvm/ext2/Cargo.toml
Keiichi Watanabe 4d93ead5fc ext2: Add example mkfs program
Add example/mkfs.rs to demonstorate how to use the library and
make it easier to use it for debugging with existing e2fsprogs
tools.

BUG=b:329359333
TEST=cargo run --example mkfs -- --path ./foo.ext2

Change-Id: I98966d317f053794607b722f38493568d0d96ced
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5404439
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Takaya Saeki <takayas@chromium.org>
2024-04-17 06:16:54 +00:00

20 lines
365 B
TOML

[package]
name = "ext2"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[dependencies]
anyhow = "*"
base = { path = "../base/" }
libc = "*"
uuid = { version = "*", features = ["v4"] }
zerocopy = "0.7.29" # >=0.7.29 is required for our 'AsBytes'
zerocopy-derive = "*"
[[example]]
name = "mkfs"
[dev-dependencies]
argh = "*"
tempfile = "*"