BSD Ports

devel/cargo-cache 0.8.3_22 FreeBSD

Rust: Manage cargo cache, print sizes of dirs, remove dirs selectively

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
APACHE20, MIT
Categories
devel
Package size
1026.1 KiB, 3164.7 KiB installed

Description

cargo-cache is a Cargo plugin that allows to display information on the cargo cache (`~/.cargo/` or `$CARGO_HOME`). Optional cache pruning.

Key Features: * check the size of the cargo cache and its components (cmd: `cargo cache`) * do a simple cleanup removing checkouts but keeping original files needed for reconstruction on disk (`--autoclean`) * clean up everything (cargo will re-download as needed) * dry-run to see what would be removed (`--dry-run`) * recompress git repos (`--gc`) * search cache via regex queries (`cargo cache query "reg.*x"`) * print crates that take the most space (`--top-cache-items`) * alternative registries supported * remove files older or younger than X (`--remove-if-{older,younger}-than`) * builds and runs on `stable`, `beta` and `nightly` channel * purge cache entries not unused to build a specified crate (`cargo cache clean-unref`) * print size stats on a local sccache build cache (`cargo cache sc`) * verify extracted crate sources (`cargo cache verify`)

In the other systems

SystemPortVersion
FreeBSDdevel/cargo-cache0.8.3_22
NetBSDsysutils/cargo-cache0.8.3

Install

Binary package:

pkg install cargo-cache

From the ports tree:

cd /usr/ports/devel/cargo-cache/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cargo-cache>0:devel/cargo-cache

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.3_210.8.3_22-0.8.3_100.8.3_22
FreeBSD:14:quarterly0.8.3_200.8.3_20n/a0.8.3_90.8.3_20
FreeBSD:15:latest0.8.3_220.8.3_22n/a0.8.3_100.8.3_10
FreeBSD:15:quarterly0.8.3_200.8.3_20n/an/an/a
FreeBSD:16:latest0.8.3_200.8.3_22n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 12

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Files

distinfo 108
FileSizeSHA256
rust/crates/adler-1.0.2.crate12778f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
rust/crates/aho-corasick-0.7.18.crate1129231e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f
rust/crates/ansi_term-0.12.1.crate24838d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2
rust/crates/atty-0.2.14.crate5470d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/camino-1.0.9.crate29357869119e97797867fd90f5e22af7d0bd274bd4635ebb9eb68c04f3f513ae6c412
rust/crates/cargo-platform-0.1.2.crate11645cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27
rust/crates/cargo_metadata-0.15.0.crate176343abb7553d5b9b8421c6de7cb02606ff15e0c6eea7d8eadd75ef013fd636bec36
rust/crates/cc-1.0.73.crate578802fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/chrono-0.4.19.crate155663670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73
rust/crates/clap-3.2.15.crate21331744bbe24bbd31a185bc2c4f7c2abe80bea13a20d57ee4e55be70ac512bdc76417
rust/crates/clap_lex-0.2.4.crate96522850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5
rust/crates/crc32fast-1.3.2.crate38661b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d
rust/crates/crossbeam-channel-0.5.6.crate90292c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521
rust/crates/crossbeam-deque-0.8.2.crate21237715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc
rust/crates/crossbeam-epoch-0.9.10.crate46918045ebe27666471bb549370b4b0b3e51b07f56325befa4284db65fc89c02511b1
rust/crates/crossbeam-utils-0.8.11.crate4088751887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc
rust/crates/ctor-0.1.22.crate9311f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645