Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alecmocatta/cargo-print
A cargo subcommand to print information in a shell-convenient format.
https://github.com/alecmocatta/cargo-print
Last synced: about 1 month ago
JSON representation
A cargo subcommand to print information in a shell-convenient format.
- Host: GitHub
- URL: https://github.com/alecmocatta/cargo-print
- Owner: alecmocatta
- License: apache-2.0
- Created: 2019-09-09T14:48:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T17:28:53.000Z (almost 3 years ago)
- Last Synced: 2024-09-08T13:24:03.845Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE.txt
Awesome Lists containing this project
README
# cargo-print
[![Crates.io](https://img.shields.io/crates/v/cargo-print.svg?maxAge=86400)](https://crates.io/crates/cargo-print)
[![MIT / Apache 2.0 licensed](https://img.shields.io/crates/l/cargo-print.svg?maxAge=2592000)](#License)
[![Build Status](https://dev.azure.com/alecmocatta/cargo-print/_apis/build/status/tests?branchName=master)](https://dev.azure.com/alecmocatta/cargo-print/_build?definitionId=22)[📖 Docs](https://docs.rs/cargo-print) | [💬 Chat](https://constellation.zulipchat.com/#narrow/stream/213236-subprojects)
A cargo subcommand to print information in a shell-convenient format. Useful for CI.
Can be installed and run like so:
```text
cargo install cargo-print
cargo print examples [--no-default-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
# prints the directory of the specified package
cargo print host
# prints rustc's host triple
```## License
Licensed under either of* Apache License, Version 2.0, ([LICENSE-APACHE.txt](LICENSE-APACHE.txt) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT.txt](LICENSE-MIT.txt) or http://opensource.org/licenses/MIT)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.