#cargo-subcommand #cargo #print #information #format #package #directory

app cargo-print

A cargo subcommand to print information in a shell-convenient format

7 releases

0.1.6 Nov 28, 2021
0.1.5 Aug 1, 2021
0.1.4 Jul 9, 2020
0.1.3 Sep 10, 2019

#329 in Cargo plugins

Download history 16/week @ 2024-08-16 19/week @ 2024-08-23 10/week @ 2024-08-30 8/week @ 2024-09-06 9/week @ 2024-09-13 39/week @ 2024-09-20 81/week @ 2024-09-27 212/week @ 2024-10-04 24/week @ 2024-10-11

256 downloads per month

MIT/Apache

13KB
223 lines

cargo-print

Crates.io MIT / Apache 2.0 licensed Build Status

📖 Docs | 💬 Chat

A cargo subcommand to print information in a shell-convenient format. Useful for CI.

Can be installed and run like so:

cargo install cargo-print
cargo print examples [--no-default-features] [--features <FEATURES>...] [--all-features]
# prints examples that can be run given the specified features
cargo print publish
# prints packages of a workspace in order for publishing
cargo print package
# prints the name of the package in the current directory
cargo print directory <package-name>
# prints the directory of the specified package
cargo print host
# prints rustc's host triple

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1–8.5MB
~76K SLoC