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
Build #2968805 2026-03-05 13:23:35

# rustc version rustc 1.96.0-nightly (b90dc1e59 2026-03-04)

# docs.rs version docsrs 0.0.0 (91dcccd9 2026-02-13 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/submod-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/submod-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260304-1.96.0-nightly-b90dc1e59\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3973c0210d3a46688210dc99344aff141c5f2c1cf789819b49084295136c04ff [INFO] running `Command { std: "docker" "start" "-a" "3973c0210d3a46688210dc99344aff141c5f2c1cf789819b49084295136c04ff", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting submod v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `SerializableIgnore` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`SerializableIgnore`],and [`SerializableUpdate`] have direct `git2` counterparts and can convert to and from them. [`SerializableFetchRecurse`] and [`SerializableBranch`] are more specific to `gix_submodule` and do not have direct `git2` counterparts, but they can convert to and from `gix_submodule` types and have methods to convert to their git string and byte equivalents. [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `SerializableIgnore` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `SerializableUpdate` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`SerializableIgnore`],and [`SerializableUpdate`] have direct `git2` counterparts and can convert to and from them. [`SerializableFetchRecurse`] and [`SerializableBranch`] are more specific to `gix_submodule` and do not have direct `git2` counterparts, but they can convert to and from `gix_submodule` types and have methods to convert to their git string and byte equivalents. [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `SerializableUpdate` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `SerializableFetchRecurse` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`SerializableIgnore`],and [`SerializableUpdate`] have direct `git2` counterparts and can convert to and from them. [`SerializableFetchRecurse`] and [`SerializableBranch`] are more specific to `gix_submodule` and do not have direct `git2` counterparts, but they can convert to and from `gix_submodule` types and have methods to convert to their git string and byte equivalents. [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `SerializableFetchRecurse` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `SerializableBranch` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`SerializableIgnore`],and [`SerializableUpdate`] have direct `git2` counterparts and can convert to and from them. [`SerializableFetchRecurse`] and [`SerializableBranch`] are more specific to `gix_submodule` and do not have direct `git2` counterparts, but they can convert to and from `gix_submodule` types and have methods to convert to their git string and byte equivalents. [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `SerializableBranch` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/git_ops/simple_gix.rs:8:63 [INFO] [stderr] | [INFO] [stderr] 8 | //! This module is adapted and simplified from the `gix` CLI (https://github.com/GitoxideLabs/gitoxide/tree/main/src/) and its suppor... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 8 | //! This module is adapted and simplified from the `gix` CLI (<https://github.com/GitoxideLabs/gitoxide/tree/main/src/>) and its supporting `gitoxide-core` crate. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `submod` (lib doc) generated 5 warnings (run `cargo fix --lib -p submod` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/submod/index.html [INFO] running `Command { std: "docker" "inspect" "3973c0210d3a46688210dc99344aff141c5f2c1cf789819b49084295136c04ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3973c0210d3a46688210dc99344aff141c5f2c1cf789819b49084295136c04ff", kill_on_drop: false }` [INFO] [stdout] 3973c0210d3a46688210dc99344aff141c5f2c1cf789819b49084295136c04ff