We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6c8de5 commit 6b48627Copy full SHA for 6b48627
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "cargo-subcommand"
3
-version = "0.7.0"
+version = "0.8.0"
4
authors = ["David Craven <[email protected]>", "Marijn Suijten <[email protected]>"]
5
edition = "2018"
6
description = "Library for creating cargo subcommands."
@@ -11,10 +11,9 @@ license = "ISC"
11
default = ["clap"]
12
13
[dependencies]
14
-clap = { version = "3.1.6", optional = true, features = ["derive"] }
+clap = { version = "3.2.22", optional = true, features = ["derive"] }
15
current_platform = "0.2.0"
16
-dunce = "1.0.1"
+dunce = "1.0.2"
17
glob = "0.3.0"
18
-serde = { version = "1.0.123", features = ["derive"] }
19
-toml = "0.5.8"
20
-
+serde = { version = "1.0.144", features = ["derive"] }
+toml = "0.5.9"
README.md
@@ -1,5 +1,5 @@
# cargo-subcommand library for building subcommands
-Is used by `cargo-ndk` and `cargo-flutter`.
+Is used by `cargo-apk` and `cargo-flutter`.
# License
Copyright 2020 David Craven <[email protected]>
src/config.rs
@@ -36,7 +36,7 @@ impl Display for EnvError {
36
37
impl std::error::Error for EnvError {}
38
39
-#[derive(Clone, Debug, Deserialize, PartialEq)]
+#[derive(Clone, Debug, Deserialize, PartialEq, Eq)]
40
#[serde(rename_all = "kebab-case")]
41
pub struct Config {
42
pub build: Option<Build>,
@@ -117,15 +117,15 @@ impl LocalizedConfig {
117
}
118
119
120
121
122
pub struct Build {
123
pub target_dir: Option<String>,
124
125
126
/// Serializable environment variable in cargo config, configurable as per
127
/// <https://doc.rust-lang.org/cargo/reference/config.html#env>,
128
129
#[serde(untagged, rename_all = "kebab-case")]
130
pub enum EnvOption {
131
String(String),
0 commit comments