magic-pack 0.12.0

Magic pack tool
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 = "2021"
name = "magic-pack"
version = "0.12.0"
authors = ["Zonda Yang <u226699@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Magic pack tool"
homepage = "https://github.com/zondatw/magic-pack"
readme = "README.md"
keywords = [
    "compress",
    "decompress",
]
license = "MIT"
repository = "https://github.com/zondatw/magic-pack"

[package.metadata.deb]
maintainer = "Zonda Yang <u226699@gmail.com>"
copyright = "2023, Zonda Yang <u226699@gmail.com>"
license-file = [
    "LICENSE",
    "4",
]
extended-description = "A CLI tool for compressing and decompressing files with multiple formats including gz, bz2, xz, zst, lz4, zip, 7z, and tar variants."
depends = "libc6 (>= 2.17), libgcc-s1"
section = "utils"
priority = "optional"
assets = [
    [
    "target/release/magic-pack",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/magic-pack/README.md",
    "644",
],
]

[features]
default = []
encryption = [
    "sevenz-rust/aes256",
    "dep:rpassword",
]
mcp = [
    "dep:serde",
    "dep:serde_json",
    "dep:itoa",
    "dep:ryu",
    "dep:memchr",
    "dep:zmij",
]

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

[[bin]]
name = "magic-pack"
path = "src/main.rs"

[[bin]]
name = "magic-pack-mcp"
path = "src/bin/magic-pack-mcp.rs"
required-features = ["mcp"]

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

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

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

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

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

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

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

[dependencies.bzip2]
version = "0.4.4"

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dependencies.flate2]
version = "1.0"

[dependencies.itoa]
version = "=1.0.17"
optional = true

[dependencies.lz4_flex]
version = "0.11"
features = ["frame"]

[dependencies.memchr]
version = "=2.7.6"
optional = true

[dependencies.rpassword]
version = "7"
optional = true

[dependencies.ryu]
version = "=1.0.22"
optional = true

[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "=1.0.149"
optional = true

[dependencies.sevenz-rust]
version = "0.6"

[dependencies.tar]
version = "0.4.45"

[dependencies.walkdir]
version = "2"

[dependencies.xz2]
version = "0.1"

[dependencies.zip]
version = "0.6.4"

[dependencies.zmij]
version = "=1.0.17"
optional = true

[dependencies.zstd]
version = "0.13"