[package]
edition = "2024"
rust-version = "1.93"
name = "modde-sources"
version = "0.2.1"
authors = ["Can H. Tartanoglu"]
build = false
include = [
"../../LICENSE",
"../../README.md",
"CHANGELOG.md",
"Cargo.toml",
"src/**",
"tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Download source implementations for modde"
documentation = "https://docs.rs/modde-sources"
readme = "README.md"
keywords = [
"modding",
"mod-manager",
"nexus-mods",
"wabbajack",
"game-mods",
]
categories = [
"command-line-utilities",
"game-development",
]
license = "GPL-3.0-only"
repository = "https://codeberg.org/caniko/rs-modde"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
rar = ["dep:unrar"]
[lib]
name = "modde_sources"
path = "src/lib.rs"
[[bin]]
name = "update-wabbajack-fixture"
path = "src/bin/update-wabbajack-fixture.rs"
[[test]]
name = "bsa_edge_cases"
path = "tests/bsa_edge_cases.rs"
[[test]]
name = "bsa_repack_integration"
path = "tests/bsa_repack_integration.rs"
[[test]]
name = "download_source_tests"
path = "tests/download_source_tests.rs"
[[test]]
name = "gdrive_tests"
path = "tests/gdrive_tests.rs"
[[test]]
name = "installer_tests"
path = "tests/installer_tests.rs"
[[test]]
name = "manifest_parse_tests"
path = "tests/manifest_parse_tests.rs"
[[test]]
name = "mega_crypto_tests"
path = "tests/mega_crypto_tests.rs"
[[test]]
name = "patcher_edge_cases"
path = "tests/patcher_edge_cases.rs"
[[test]]
name = "patcher_integration"
path = "tests/patcher_integration.rs"
[[test]]
name = "validator_integration"
path = "tests/validator_integration.rs"
[[test]]
name = "wabbajack_comprehensive_tests"
path = "tests/wabbajack_comprehensive_tests.rs"
[dependencies.aes]
version = "0.9.1"
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.11.1"
[dependencies.ctr]
version = "0.10.1"
[dependencies.futures]
version = "0.3"
[dependencies.httpdate]
version = "1"
[dependencies.keyring]
version = "4"
[dependencies.keyring-core]
version = "1"
[dependencies.lru]
version = "0.18.0"
[dependencies.lz4_flex]
version = "0.13"
[dependencies.memory-admission]
version = "0.1.6"
features = ["async"]
default-features = false
[dependencies.modde-core]
version = "0.2.1"
[dependencies.modde-games]
version = "0.2.1"
[dependencies.parking_lot]
version = "0.12.5"
[dependencies.reqwest]
version = "0.13.2"
features = [
"rustls",
"stream",
"json",
"form",
"cookies",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sevenz-rust2]
version = "0.21.0"
features = [
"util",
"bzip2",
"deflate",
"aes256",
"ppmd",
"lz4",
"zstd",
"brotli",
]
default-features = false
[dependencies.sha2]
version = "0.11"
[dependencies.smallvec]
version = "1"
features = ["serde"]
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"fs",
"io-util",
"net",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.unrar]
version = "0.7.7"
optional = true
package = "unrar-ng"
[dependencies.xxhash-rust]
version = "0.8"
features = [
"xxh3",
"xxh64",
]
[dependencies.zip]
version = "8"
[dependencies.zstd]
version = "0.13.3"
features = ["zstdmt"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"fs",
"io-util",
"net",
"time",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
assigning_clones = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
doc_overindented_list_items = "allow"
empty_line_after_doc_comments = "allow"
explicit_counter_loop = "allow"
format_push_string = "allow"
if_same_then_else = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
large_stack_arrays = "allow"
manual_let_else = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
redundant_guards = "allow"
result_large_err = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unnecessary_get_then_check = "allow"
unnecessary_sort_by = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1