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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.27.0 |
| NetBSD 10.1 aarch64 | 0.26.0 |
| SmartOS / illumos x86_64 | 0.27.0 |
| macOS 15 arm64 | 0.27.0 |
Dependencies
No port depends on this one.