Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-extract"
version = "0.3.0"
version = "0.3.1"
edition = "2024"
authors = ["Emil Englesson <englesson.emil@gmail.com>"]
description = "Cargo subcommand to extract information from Cargo.toml files"
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ This cargo subcommand allows you to extract specific information from a `Cargo.t

## Installation

```
```sh
$ cargo install cargo-extract
```

## Examples

```
```sh
$ cargo extract package.name
cargo-extract

$ cargo extract package.version
0.3.0
0.3.1

$ cargo extract package.categories
command-line-utilities
Expand All @@ -27,4 +27,7 @@ development-tools::cargo-plugins

$ cargo extract package.categories.0
command-line-utilities

$ cargo extract --arch
x86_64-pc-windows-msvc
```