[package]
edition = "2024"
rust-version = "1.95"
name = "fstool"
version = "0.4.10"
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"
[features]
amiga-lzx = [
"dep:compcol",
"compcol/amiga_lzx",
]
arc = []
cab = [
"dep:compcol",
"compcol/deflate",
"compcol/lzx",
"compcol/quantum",
]
default = [
"gzip",
"xz",
"lzma",
"lz4",
"zstd",
"lzo",
"cab",
"amiga-lzx",
"lha",
"arc",
"sit",
"sevenz",
"rar",
"dmg-bzip2",
"dmg-lzfse",
"dmg-encrypted",
"readline",
]
dmg-bzip2 = [
"dep:compcol",
"compcol/bzip2",
]
dmg-encrypted = ["dep:purecrypto"]
dmg-lzfse = [
"dep:compcol",
"compcol/lzfse",
]
fuse = ["dep:fuser"]
gzip = [
"dep:compcol",
"compcol/gzip",
"compcol/zlib",
"compcol/deflate",
]
lha = []
lz4 = [
"dep:compcol",
"compcol/lz4",
]
lzma = [
"dep:compcol",
"compcol/lzma",
]
lzo = [
"dep:compcol",
"compcol/lzo",
]
rar = [
"dep:compcol",
"compcol/rar5",
]
readline = ["dep:rustyline"]
sevenz = [
"dep:compcol",
"compcol/lzma",
"compcol/bzip2",
"compcol/deflate",
]
sit = []
xz = [
"dep:compcol",
"compcol/xz",
]
zstd = [
"dep:compcol",
"compcol/zstd",
]
[lib]
name = "fstool"
path = "src/lib.rs"
[[bin]]
name = "fstool"
path = "src/bin/fstool/main.rs"
[[example]]
name = "format_empty_ext2"
path = "examples/format_empty_ext2.rs"
[[example]]
name = "inspect_gpt"
path = "examples/inspect_gpt.rs"
[[test]]
name = "apfs_external"
path = "tests/apfs_external.rs"
[[test]]
name = "archive_external"
path = "tests/archive_external.rs"
[[test]]
name = "cli_external"
path = "tests/cli_external.rs"
[[test]]
name = "clone_api"
path = "tests/clone_api.rs"
[[test]]
name = "compression_external"
path = "tests/compression_external.rs"
[[test]]
name = "dmg_external"
path = "tests/dmg_external.rs"
[[test]]
name = "exfat_external"
path = "tests/exfat_external.rs"
[[test]]
name = "ext2_external"
path = "tests/ext2_external.rs"
[[test]]
name = "ext3_external"
path = "tests/ext3_external.rs"
[[test]]
name = "ext4_external"
path = "tests/ext4_external.rs"
[[test]]
name = "f2fs_external"
path = "tests/f2fs_external.rs"
[[test]]
name = "fat32_external"
path = "tests/fat32_external.rs"
[[test]]
name = "fs_fuzz"
path = "tests/fs_fuzz.rs"
[[test]]
name = "fuse_external"
path = "tests/fuse_external.rs"
[[test]]
name = "grf_external"
path = "tests/grf_external.rs"
[[test]]
name = "hfs_plus_external"
path = "tests/hfs_plus_external.rs"
[[test]]
name = "iso9660_external"
path = "tests/iso9660_external.rs"
[[test]]
name = "merge_external"
path = "tests/merge_external.rs"
[[test]]
name = "ntfs_external"
path = "tests/ntfs_external.rs"
[[test]]
name = "partition_external"
path = "tests/partition_external.rs"
[[test]]
name = "qcow2_external"
path = "tests/qcow2_external.rs"
[[test]]
name = "reopen_mutate"
path = "tests/reopen_mutate.rs"
[[test]]
name = "repack_unified"
path = "tests/repack_unified.rs"
[[test]]
name = "spec_external"
path = "tests/spec_external.rs"
[[test]]
name = "squashfs_external"
path = "tests/squashfs_external.rs"
[[test]]
name = "xfs_external"
path = "tests/xfs_external.rs"
[dependencies.caseless]
version = "0.2"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.compcol]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.crc32c]
version = "0.6.8"
[dependencies.crc32fast]
version = "1"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.fuser]
version = "0.16"
features = ["libfuse"]
optional = true
[dependencies.log]
version = "0.4"
[dependencies.purecrypto]
version = "0.4"
features = [
"std",
"cipher",
"hash",
"kdf",
]
optional = true
default-features = false
[dependencies.rustyline]
version = "15"
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1.1.2"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.lzfse_rust]
version = "0.2"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.libc]
version = "0.2"