submod 0.2.0

A headache-free submodule management tool, built on top of gitoxide. Manage sparse checkouts, submodule updates, and adding/removing submodules with ease.
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"
name = "submod"
version = "0.2.0"
build = false
include = [
    "src/**/*",
    "README.md",
    "Cargo.toml",
    "sample_config/submod.toml",
    "REUSE.toml",
    "LICENSES/*",
    "LICENSE.md",
    "submod-sbom.spdx",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A headache-free submodule management tool, built on top of gitoxide. Manage sparse checkouts, submodule updates, and adding/removing submodules with ease."
homepage = "https://github.com/bashandbone/submod"
documentation = "https://docs.rs/submod"
readme = "README.md"
keywords = [
    "git",
    "submodule",
    "gitoxide",
    "cli",
    "sparse-checkout",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license-file = "LICENSE.md"
repository = "https://github.com/bashandbone/submod"
resolver = "3"

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

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bitflags]
version = "2.11.0"

[dependencies.bstr]
version = "1.12.1"
default-features = false

[dependencies.clap]
version = "4.5.60"
features = [
    "derive",
    "cargo",
    "unicode",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5.66"

[dependencies.clap_complete_nushell]
version = "4.5.10"

[dependencies.figment]
version = "0.10.19"
features = ["toml"]
default-features = false

[dependencies.git2]
version = "0.20.4"

[dependencies.gitoxide-core]
version = "0.54.0"
features = [
    "blocking-client",
    "organize",
    "clean",
    "serde",
]
default-features = false

[dependencies.gix]
version = "0.80.0"
features = [
    "attributes",
    "blocking-network-client",
    "excludes",
    "command",
    "parallel",
    "serde",
    "status",
    "worktree-mutation",
]
default-features = false

[dependencies.gix-config]
version = "0.53.0"
features = ["serde"]

[dependencies.gix-glob]
version = "0.24.0"

[dependencies.gix-pathspec]
version = "0.16.0"

[dependencies.gix-submodule]
version = "0.27.0"

[dependencies.prodash]
version = "31.0.0"
features = [
    "render-line-crossterm",
    "render-line-autoconfigure",
    "render-line",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.figment]
version = "0.10.19"
features = [
    "test",
    "toml",
]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.140"

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"

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

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

[lints.clippy.correctness]
level = "deny"
priority = -1

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

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

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

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

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

[lints.rust]
missing_docs = "warn"
unreachable_code = "warn"
unsafe_code = "forbid"

[lints.rust.unused]
level = "warn"
priority = -1