diff --git a/Cargo.lock b/Cargo.lock index af4bd1c..a1265e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -535,9 +535,10 @@ dependencies = [ [[package]] name = "hocon" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ + "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "java-properties 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "nom 4.2.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -655,7 +656,7 @@ dependencies = [ "env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "handlebars 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hocon 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hocon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "jenkins_api 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1954,7 +1955,7 @@ dependencies = [ "checksum h2 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "ddb2b25a33e231484694267af28fec74ac63b5ccf51ee2065a5e313b834d836e" "checksum handlebars 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d82e5750d8027a97b9640e3fefa66bbaf852a35228e1c90790efd13c4b09c166" "checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" -"checksum hocon 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ed2868a1bb9deab71758411474cd395bcfd4b443b4f15cccf7731c6e427ecc4d" +"checksum hocon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "68512e04fe05c5680b10d3d82c4f4404389e0b770558c5a410989ea282d62f14" "checksum http 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "1a10e5b573b9a0146545010f50772b9e8b1dd0a256564cc4307694c68832a2f5" "checksum httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e8734b0cfd3bc3e101ec59100e101c2eecd19282202e87808b3037b442777a83" "checksum humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ca7e5f2e110db35f93b837c81797f3714500b81d517bf20c431b16d3ca4f114" diff --git a/Cargo.toml b/Cargo.toml index 220b194..77bd033 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ handlebars = "1.1" ansi_term = "0.11" chrono = "0.4" -hocon = "0.2" +hocon = "0.3" dirs = "1.0" structopt = "0.2" config = "0.9" diff --git a/src/cli_config.rs b/src/cli_config.rs index 260659b..b66cc1c 100644 --- a/src/cli_config.rs +++ b/src/cli_config.rs @@ -161,7 +161,7 @@ pub struct JenkinsSettings { #[derive(Debug, Clone)] struct SourceHocon { - conf: Result, + conf: Result, path: String, required: bool, }