Loading Cargo.lock +18 −19 Original line number Diff line number Diff line Loading @@ -653,12 +653,6 @@ dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "convert_case" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation-sys" version = "0.8.6" Loading Loading @@ -832,15 +826,23 @@ dependencies = [ [[package]] name = "derive_more" version = "0.99.18" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" dependencies = [ "derive_more-impl", ] [[package]] name = "derive_more-impl" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", "syn 2.0.76", "unicode-xid", ] [[package]] Loading Loading @@ -2188,15 +2190,6 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver", ] [[package]] name = "rustix" version = "0.37.27" Loading Loading @@ -2695,6 +2688,12 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "uriparse" version = "0.6.4" Loading pipe-lib/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ clap = { version = "4.4.2", features = ["derive"] } clap-verbosity-flag = "2.2.0" color-eyre = "0.6.3" console = { version = "0.15.7", default-features = false, features = ["ansi-parsing"] } derive_more = { version = "0.99.18" } derive_more = { version = "1.0.0", features = ["display"] } dotenvy = "0.15.0" env_logger = "0.11.3" exitcode = "1.1.2" Loading pipe-lib/src/lib.rs +4 −4 Original line number Diff line number Diff line Loading @@ -182,7 +182,7 @@ pub struct Check { pub parent: Option<String>, } #[derive(Clone, Debug, Display)] #[display(fmt = "{}", name)] #[display("{}", name)] #[builder(start_fn(name = init))] pub struct Command { /// Prefix string to modify command string Loading Loading @@ -246,7 +246,7 @@ pub struct Details { /// Struct for using and sharing colorized logging labels pub struct Label {} #[derive(Clone, Debug, Deserialize, Display, Serialize)] #[display(fmt = "{name}")] #[display("{name}")] pub struct Module { pub name: String, #[serde(flatten)] Loading Loading @@ -295,7 +295,7 @@ pub struct Rule { /// /// see <https://semver.org/> #[derive(Clone, Debug, Deserialize, Display, Serialize)] #[display(fmt = "{}.{}.{}", major, minor, patch)] #[display("{}.{}.{}", major, minor, patch)] #[builder(start_fn(name = init))] pub struct SemanticVersion { /// Version when you make incompatible API changes Loading Loading @@ -323,7 +323,7 @@ pub struct SemanticVersion { /// let script = Script::init().command(command).arguments(arguments).build(); /// ``` #[derive(Clone, Debug, Display)] #[display(fmt = "{} {}", "self.get_command()", "self.get_arguments().join(\" \")")] #[display("{} {}", self.get_command(), self.get_arguments().join(" "))] #[builder(start_fn(name = init))] pub struct Script { #[builder(default = Command::init().build())] Loading Loading
Cargo.lock +18 −19 Original line number Diff line number Diff line Loading @@ -653,12 +653,6 @@ dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "convert_case" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation-sys" version = "0.8.6" Loading Loading @@ -832,15 +826,23 @@ dependencies = [ [[package]] name = "derive_more" version = "0.99.18" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" dependencies = [ "derive_more-impl", ] [[package]] name = "derive_more-impl" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", "syn 2.0.76", "unicode-xid", ] [[package]] Loading Loading @@ -2188,15 +2190,6 @@ version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc_version" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver", ] [[package]] name = "rustix" version = "0.37.27" Loading Loading @@ -2695,6 +2688,12 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "uriparse" version = "0.6.4" Loading
pipe-lib/Cargo.toml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ clap = { version = "4.4.2", features = ["derive"] } clap-verbosity-flag = "2.2.0" color-eyre = "0.6.3" console = { version = "0.15.7", default-features = false, features = ["ansi-parsing"] } derive_more = { version = "0.99.18" } derive_more = { version = "1.0.0", features = ["display"] } dotenvy = "0.15.0" env_logger = "0.11.3" exitcode = "1.1.2" Loading
pipe-lib/src/lib.rs +4 −4 Original line number Diff line number Diff line Loading @@ -182,7 +182,7 @@ pub struct Check { pub parent: Option<String>, } #[derive(Clone, Debug, Display)] #[display(fmt = "{}", name)] #[display("{}", name)] #[builder(start_fn(name = init))] pub struct Command { /// Prefix string to modify command string Loading Loading @@ -246,7 +246,7 @@ pub struct Details { /// Struct for using and sharing colorized logging labels pub struct Label {} #[derive(Clone, Debug, Deserialize, Display, Serialize)] #[display(fmt = "{name}")] #[display("{name}")] pub struct Module { pub name: String, #[serde(flatten)] Loading Loading @@ -295,7 +295,7 @@ pub struct Rule { /// /// see <https://semver.org/> #[derive(Clone, Debug, Deserialize, Display, Serialize)] #[display(fmt = "{}.{}.{}", major, minor, patch)] #[display("{}.{}.{}", major, minor, patch)] #[builder(start_fn(name = init))] pub struct SemanticVersion { /// Version when you make incompatible API changes Loading Loading @@ -323,7 +323,7 @@ pub struct SemanticVersion { /// let script = Script::init().command(command).arguments(arguments).build(); /// ``` #[derive(Clone, Debug, Display)] #[display(fmt = "{} {}", "self.get_command()", "self.get_arguments().join(\" \")")] #[display("{} {}", self.get_command(), self.get_arguments().join(" "))] #[builder(start_fn(name = init))] pub struct Script { #[builder(default = Command::init().build())] Loading