modde-core 0.2.1

Core types and logic for the modde mod manager
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.93"
name = "modde-core"
version = "0.2.1"
authors = ["Can H. Tartanoglu"]
build = false
include = [
    "../../LICENSE",
    "../../README.md",
    "CHANGELOG.md",
    "Cargo.toml",
    "benches/**",
    "src/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and logic for the modde mod manager"
documentation = "https://docs.rs/modde-core"
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",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "vfs_deploy"
path = "benches/vfs_deploy.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.dirs]
version = "6"

[dependencies.flate2]
version = "1"

[dependencies.fomod-oxide]
version = "0.1"
features = ["json"]

[dependencies.git2]
version = "0.20"

[dependencies.lz4_flex]
version = "0.13"

[dependencies.reflink-copy]
version = "0.1.29"
features = ["tracing"]

[dependencies.reqwest]
version = "0.13.2"
features = [
    "rustls",
    "stream",
    "json",
    "form",
    "cookies",
]
default-features = false

[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.smallvec]
version = "1"
features = ["serde"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
    "net",
    "time",
]

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.xxhash-rust]
version = "0.8"
features = [
    "xxh3",
    "xxh64",
]

[dependencies.zip]
version = "8"

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
    "net",
    "time",
    "test-util",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.winreg]
version = "0.56"

[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