./devel/cargo-modules, Render your crates module/item structure as a tree or graph

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.21.2, Package name: cargo-modules-0.21.2, Maintainer: pkgsrc-users

A cargo plugin for showing an overview of a crate's modules.

With time, as your Rust projects grow bigger and bigger, it gets more and more
important to properly structure your code.
Fortunately Rust provides us with a quite sophisticated module system, allowing
us to neatly split up our crates into arbitrarily small sub-modules of types
and functions.

While this helps to avoid monolithic and unstructured chunks of code, it can
also make it hard at times to still mentally stay on top of the over-all
high-level structure of the project at hand.

This is where cargo-modules comes into play.


Master sites:

Filesize: 303.82 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 19:07:51 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/cargo-modules: update to 0.21.2

[0.21.2] - 2025-01-21
Changed

    Updated dependencies:
        rust-analyzer from 0.0.248 to 0.0.259
        anyhow from 1.0.94 to 1.0.95
        bitflags from 2.6.0 to 2.8.0
        clap from 4.5.23 to 4.5.27
        env_logger from 0.11.5 to 0.11.6
        insta from 1.41.1 to 1.42.0
        libc from 0.2.168 to 0.2.169
        log from 0.4.22 to 0.4.25
        petgraph from 0.6.4 to 0.7.0

[0.21.1] - 2024-12-11
Security

    Resolved RUSTSEC-2024-0421 by upgrading url crate dependency to \ 
"2.5.4".

[0.21.0] - 2024-12-10
Added

    Added CLI flag --no-owns for dependencies command for filtering out \ 
"owns" edges and resulting isolated nodes.

Changed

    Updated dependencies:
        rust-analyzer from 0.0.246 to 0.0.248
        anyhow from 1.0.93 to 1.0.94
        clap from 4.5.21 to 4.5.23
        libc from 0.2.166 to 0.2.168

[0.20.2] - 2024-11-27
Added

    Added CLI flag --version for printing the version.

Changed

    Updated dependencies:
        libc from 0.2.164 to 0.2.166
        rust-analyzer from 0.0.245 to 0.0.246

[0.20.1] - 2024-11-20
Changed

    Updated dependencies:
        rust-analyzer from 0.0.244 to 0.0.245

[0.20.0] - 2024-11-16
Changed

    Updated dependencies:
        rust-analyzer from 0.0.241 to 0.0.244
        anyhow from 1.0.91 to 1.0.93
        clap from 4.5.20 to 4.5.21
        libc from 0.2.161 to 0.2.164
    Bumped MSRV from 1.81.0 to 1.82.0
   2025-01-24 14:30:32 by pin | Files touched by this commit (1)
Log message:
devel/cargo-modules: drop maintainer
   2024-11-25 15:50:39 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/cargo-modules: update to 0.19.1

[0.19.1] - 2024-10-29
Changed

    Updated dependencies:
        rust-analyzer from 0.0.240 to 0.0.241
        insta from 1.40.0 to 1.41.0
        anyhow from 1.0.90 to 1.0.91

[0.19.0] - 2024-10-23
Added

    The --focus-on option now accepts expressions starting with crate::… \ 
(previously the crate's name had to be written out).

Changed

    Updated dependencies:
        anyhow from 1.0.89 to 1.0.90
        libc from 0.2.159 to 0.2.161
        pulldown-cmark from 0.12.1 to 0.12.2
        rust-analyzer from 0.0.239 to 0.0.240

Fixed

    Fixed structure's filtering logic with respect to --focus-on and --max-depth \ 
options.
    Fixed filtering of #[test] and #[cfg(test)] when --cfg-test is not used

[0.18.2] - 2024-10-15
Changed

    Updated dependencies:
        clap from 4.5.19 to 4.5.20
        rust-analyzer from 0.0.238 to 0.0.239

[0.18.1] - 2024-10-08
Changed

    Updated dependencies:
        clap from 4.5.18 to 4.5.19
        rust-analyzer from 0.0.236 to 0.0.238

[0.18.0] - 2024-09-30
Changed

    Updated dependencies:
        anyhow from 1.0.86 to 1.0.89
        clap from 4.5.16 to 4.5.18
        insta from 1.39.0 to 1.40.0
        libc from 0.2.158 to 0.2.159
        pulldown-cmark from 0.12.0 to 0.12.1
        rust-analyzer from 0.0.230 to 0.0.237
    Bumped MSRV from 1.80.0 to 1.81.0
   2024-10-13 22:19:03 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/cargo-modules: update to 0.17.0

[0.17.0] - 2024-08-22
Changed
    Updated dependencies:
        rust-analyzer from 0.0.229 to 0.0.230
        libc from 0.2.157 to 0.2.158
    Bumped MSRV from 1.78.0 to 1.80.0
   2024-10-01 09:54:39 by pin | Files touched by this commit (1)
Log message:
devel/cargo-modules: require Rust-1.81
   2024-08-24 05:45:36 by pin | Files touched by this commit (1)
Log message:
devel/cargo-modules: add Rust requirements

New versions of cargo-modules require at least, Rust-1.80 to build.
   2024-08-18 18:14:59 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/cargo-modules: update to 0.16.10

[0.16.10] - 2024-08-18
Changed

    Updated dependencies:
        rust-analyzer from 0.0.228 to 0.0.229
        pulldown-cmark from 0.11.0 to 0.12.0
   2024-08-08 19:28:34 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/cargo-modules: update to 0.16.9

[0.16.9] - 2024-08-08
Changed

    Updated dependencies:
      - rust-analyzer from 0.0.227 to 0.0.228
      - clap from 4.5.11 to 4.5.13
      - dunce from 1.0.4 to 1.0.5