# 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 = "fstool"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build disk images and filesystems (ext2/3/4, MBR, GPT) from a directory tree and TOML spec, in the spirit of genext2fs."
readme = "README.md"
keywords = [
    "filesystem",
    "ext4",
    "ext2",
    "gpt",
    "image",
]
categories = [
    "filesystem",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/fstool"

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

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

[[example]]
name = "format_empty_ext2"
path = "examples/format_empty_ext2.rs"

[[example]]
name = "inspect_gpt"
path = "examples/inspect_gpt.rs"

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

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

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

[dependencies.crc32fast]
version = "1"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.env_logger]
version = "0.11"

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