psarc2 0.1.0

PlayStation archive reader
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.87.0"
name = "psarc2"
version = "0.1.0"
authors = ["Thomas Versteeg <t@versteeg.email>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PlayStation archive reader"
documentation = "https://docs.rs/psarc2"
readme = "README.md"
keywords = [
    "archive",
    "compression",
]
categories = [
    "compression",
    "filesystem",
    "parser-implementations",
    "game-development",
]
license = "AGPL-3.0-or-later"
repository = "https://codeberg.com/tversteeg/psarc2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["zlib"]
lzma = []
zlib = ["dep:flate2"]

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

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

[dependencies.aes]
version = "0.9.1"

[dependencies.cfb-mode]
version = "0.9.1"

[dependencies.flate2]
version = "1.1.9"
features = ["zlib-rs"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dev-dependencies.hex]
version = "0.4.3"

[lints.clippy]
cast_precision_loss = "allow"
dbg_macro = "warn"
decimal_literal_representation = "warn"
deref_by_slicing = "warn"
doc_paragraphs_missing_punctuation = "warn"
float_cmp_const = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
iter_with_drain = "allow"
lossy_float_literal = "warn"
min_ident_chars = "warn"
missing_assert_message = "warn"
missing_asserts_for_indexing = "warn"
missing_docs_in_private_items = "warn"
module_name_repetitions = "allow"
mutex_atomic = "warn"
needless_pass_by_value = "allow"
negative_feature_names = "warn"
non_zero_suggestions = "warn"
panic_in_result_fn = "warn"
partial_pub_fields = "warn"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_pub_crate = "allow"
renamed_function_params = "warn"
self_named_module_files = "warn"
semicolon_outside_block = "warn"
str_to_string = "warn"
string_lit_chars_any = "warn"
tests_outside_test_module = "warn"
try_err = "warn"
unsafe_derive_deserialize = "allow"
unseparated_literal_suffix = "warn"
unused_trait_names = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"
wildcard_dependencies = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1