Skip to content

Commit 6b48627

Browse files
committedSep 22, 2022
Release 0.8.0
1 parent b6c8de5 commit 6b48627

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed
 

‎Cargo.toml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-subcommand"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["David Craven <david@craven.ch>", "Marijn Suijten <marijn@traverseresearch.nl>"]
55
edition = "2018"
66
description = "Library for creating cargo subcommands."
@@ -11,10 +11,9 @@ license = "ISC"
1111
default = ["clap"]
1212

1313
[dependencies]
14-
clap = { version = "3.1.6", optional = true, features = ["derive"] }
14+
clap = { version = "3.2.22", optional = true, features = ["derive"] }
1515
current_platform = "0.2.0"
16-
dunce = "1.0.1"
16+
dunce = "1.0.2"
1717
glob = "0.3.0"
18-
serde = { version = "1.0.123", features = ["derive"] }
19-
toml = "0.5.8"
20-
18+
serde = { version = "1.0.144", features = ["derive"] }
19+
toml = "0.5.9"

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# cargo-subcommand library for building subcommands
2-
Is used by `cargo-ndk` and `cargo-flutter`.
2+
Is used by `cargo-apk` and `cargo-flutter`.
33

44
# License
55
Copyright 2020 David Craven <david@craven.ch>

‎src/config.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl Display for EnvError {
3636

3737
impl std::error::Error for EnvError {}
3838

39-
#[derive(Clone, Debug, Deserialize, PartialEq)]
39+
#[derive(Clone, Debug, Deserialize, PartialEq, Eq)]
4040
#[serde(rename_all = "kebab-case")]
4141
pub struct Config {
4242
pub build: Option<Build>,
@@ -117,15 +117,15 @@ impl LocalizedConfig {
117117
}
118118
}
119119

120-
#[derive(Clone, Debug, Deserialize, PartialEq)]
120+
#[derive(Clone, Debug, Deserialize, PartialEq, Eq)]
121121
#[serde(rename_all = "kebab-case")]
122122
pub struct Build {
123123
pub target_dir: Option<String>,
124124
}
125125

126126
/// Serializable environment variable in cargo config, configurable as per
127127
/// <https://doc.rust-lang.org/cargo/reference/config.html#env>,
128-
#[derive(Clone, Debug, Deserialize, PartialEq)]
128+
#[derive(Clone, Debug, Deserialize, PartialEq, Eq)]
129129
#[serde(untagged, rename_all = "kebab-case")]
130130
pub enum EnvOption {
131131
String(String),

0 commit comments

Comments
 (0)