[package]
edition = "2024"
rust-version = "1.93"
name = "modde-cli"
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 = "CLI interface for modde"
documentation = "https://docs.rs/modde-cli"
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",
]
[[package.metadata.release.pre-release-replacements]]
file = "../../modde.spec"
search = '^Version:\s+.*$'
replace = "Version: {{version}}"
exactly = 1
[package.metadata.deb]
name = "modde"
maintainer = "Can H. Tartanoglu <caniko@codeberg.org>"
depends = "libc6, libgcc-s1, libssl3, libdbus-1-3, libsqlite3-0"
section = "utils"
priority = "optional"
assets = [
[
"../../target/release/modde",
"usr/bin/",
"755",
],
[
"../../LICENSE",
"usr/share/doc/modde/copyright",
"644",
],
[
"../../README.md",
"usr/share/doc/modde/README.md",
"644",
],
]
[features]
default = ["rar"]
heap-profile = []
rar = ["modde-sources/rar"]
remote-telemetry = [
"dep:detritus",
"dep:detritus-protocol",
"dep:dirs",
"dep:secrecy",
"dep:uuid",
]
[[bin]]
name = "modde"
path = "src/main.rs"
[[test]]
name = "cli_exec"
path = "tests/cli_exec.rs"
[[test]]
name = "cli_game_export_import"
path = "tests/cli_game_export_import.rs"
[[test]]
name = "cli_game_management"
path = "tests/cli_game_management.rs"
[[test]]
name = "cli_help_snapshots"
path = "tests/cli_help_snapshots.rs"
[[test]]
name = "cli_install_mod"
path = "tests/cli_install_mod.rs"
[[test]]
name = "cli_integration_tests"
path = "tests/cli_integration_tests.rs"
[[test]]
name = "cli_nexus_status"
path = "tests/cli_nexus_status.rs"
[[test]]
name = "cli_nxm_dispatch"
path = "tests/cli_nxm_dispatch.rs"
[[test]]
name = "cli_scan_dispatch"
path = "tests/cli_scan_dispatch.rs"
[[test]]
name = "cli_skill"
path = "tests/cli_skill.rs"
[[test]]
name = "cli_smoke"
path = "tests/cli_smoke.rs"
[[test]]
name = "cli_update_check"
path = "tests/cli_update_check.rs"
[[test]]
name = "cli_wabbajack_acquire"
path = "tests/cli_wabbajack_acquire.rs"
[[test]]
name = "parse_wabbajack_test"
path = "tests/parse_wabbajack_test.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.detritus]
version = "0.1.0"
optional = true
default-features = false
package = "detritus-client"
[dependencies.detritus-protocol]
version = "0.1.0"
optional = true
default-features = false
[dependencies.dirs]
version = "6"
optional = true
[dependencies.fomod-oxide]
version = "0.1"
features = ["json"]
[dependencies.modde-core]
version = "0.2.1"
[dependencies.modde-games]
version = "0.2.1"
[dependencies.modde-sources]
version = "0.2.1"
[dependencies.modde-ui]
version = "0.2.1"
[dependencies.notify]
version = "8"
features = ["macos_kqueue"]
default-features = false
[dependencies.open]
version = "5"
[dependencies.reqwest]
version = "0.13.2"
features = [
"rustls",
"stream",
"json",
"form",
"cookies",
]
default-features = false
[dependencies.secrecy]
version = "0.10"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.smallvec]
version = "1"
features = ["serde"]
[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.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1.10"
features = [
"v4",
"serde",
]
optional = true
[dependencies.xxhash-rust]
version = "0.8"
features = [
"xxh3",
"xxh64",
]
[dependencies.zip]
version = "8"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.insta]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"fs",
"io-util",
"net",
"time",
]
[dev-dependencies.wiremock]
version = "0.6"
[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