asar-rust 0.1.0

Rust port of @electron/asar — create and extract Electron ASAR archives
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 = "2024"
rust-version = "1.85"
name = "asar-rust"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of @electron/asar — create and extract Electron ASAR archives"
readme = "README.md"
keywords = [
    "asar",
    "electron",
    "archive",
    "pack",
    "cli",
]
categories = [
    "compression",
    "filesystem",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/lvzhenbo/asar-rust"

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

[[bin]]
name = "asar"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "std",
    "help",
    "usage",
    "error-context",
]
default-features = false

[dependencies.glob]
version = "0.3.3"

[dependencies.indexmap]
version = "2.14.0"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.pathdiff]
version = "0.2.3"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_json]
version = "1.0.149"
features = ["alloc"]
default-features = false

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0.18"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"