BSD Ports

devel/cargo-modules 0.27.0 NetBSD

Render your crate's module/item structure as a tree or graph

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
9730cf9304
License
mpl-2.0
Categories
devel
Package size
4999.7 KiB, 21550.2 KiB installed

Description

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.

Install

Binary package:

pkgin install cargo-modules

From pkgsrc:

cd /usr/pkgsrc/devel/cargo-modules && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.27.0
NetBSD 10.1 aarch640.26.0
SmartOS / illumos x86_640.27.0
macOS 15 arm640.27.0

Dependencies

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
9730cf9304 pin devel/cargo-modules: update to 0.27.0
[0.27.0] - 2026-08-03 Changed - Updated dependencies: - assert_cmd from 2.0.14 to 2.2.1 - bitflags from 2.5.0 to 2.11.1 - insta from 1.38.0 to 1.47.2 - rust-analyzer from 0.0.328 to 0.0.345 - sugar_path from 2.0.0 to 3.0.0 - Bumped MSRV from 1.91.0 to 1.95.0