8 Commits
v1.4.1 ... main

Author SHA1 Message Date
Dependabot
5b9f8d32d4 chore(deps): Bump syn from 2.0.100 to 2.0.104 2025-07-07 19:47:50 -04:00
Dependabot
697b412a68 chore(deps): Bump proc-macro2 from 1.0.94 to 1.0.95 2025-07-07 19:46:37 -04:00
Dependabot
e0543c0d41 chore(deps): Bump tempfile from 3.19.1 to 3.20.0 2025-07-07 19:44:50 -04:00
Dependabot
f5993a72ec chore(deps): Bump thiserror from 1.0.69 to 2.0.12 2025-07-07 19:43:38 -04:00
Dependabot
0c02a26b5d chore(deps): Bump rstest from 0.24.0 to 0.25.0 2025-07-07 23:41:21 +00:00
720f1fd358 chore: Add dependabot config 2025-07-07 19:40:04 -04:00
66166b47f0 chore: Release 2025-05-18 12:53:54 -04:00
b72ca67302 chore: Clippy fixes 2025-05-18 12:53:36 -04:00
7 changed files with 53 additions and 24 deletions

19
.gitlab/dependabot.yml Normal file
View File

@@ -0,0 +1,19 @@
version: 2
update-options:
rebase-strategy:
strategy: auto
on-approval: true
with-assignee: dependabot-wunker-bunker
schedule:
interval: weekly
auto-merge: true
approvers:
- gmpinder
reviewers:
- gmpinder
assignees:
- dependabot-wunker-bunker
open-pull-requests-limit: -1
updates:
- package-ecosystem: cargo
directory: /

View File

@@ -2,11 +2,18 @@
All notable changes to this project will be documented in this file.
## [1.4.2] - 2025-05-18
### ⚙️ Miscellaneous Tasks
- Clippy fixes
## [1.4.1] - 2025-04-06
### ⚙️ Miscellaneous Tasks
- Upgrade deps
- Release
## [1.4.0] - 2025-04-06

32
Cargo.lock generated
View File

@@ -40,7 +40,7 @@ dependencies = [
[[package]]
name = "comlexr"
version = "1.4.1"
version = "1.4.2"
dependencies = [
"comlexr_macro",
"rstest",
@@ -51,7 +51,7 @@ dependencies = [
[[package]]
name = "comlexr_macro"
version = "1.4.1"
version = "1.4.2"
dependencies = [
"proc-macro2",
"quote",
@@ -252,9 +252,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.94"
version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
dependencies = [
"unicode-ident",
]
@@ -311,9 +311,9 @@ checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
[[package]]
name = "rstest"
version = "0.24.0"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03e905296805ab93e13c1ec3a03f4b6c4f35e9498a3d5fa96dc626d22c03cd89"
checksum = "6fc39292f8613e913f7df8fa892b8944ceb47c247b78e1b1ae2f09e019be789d"
dependencies = [
"futures-timer",
"futures-util",
@@ -323,9 +323,9 @@ dependencies = [
[[package]]
name = "rstest_macros"
version = "0.24.0"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef0053bbffce09062bee4bcc499b0fbe7a57b879f1efe088d6d8d4c7adcdef9b"
checksum = "1f168d99749d307be9de54d23fd226628d99768225ef08f6ffb52e0182a27746"
dependencies = [
"cfg-if",
"glob",
@@ -410,9 +410,9 @@ dependencies = [
[[package]]
name = "syn"
version = "2.0.100"
version = "2.0.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
dependencies = [
"proc-macro2",
"quote",
@@ -421,9 +421,9 @@ dependencies = [
[[package]]
name = "tempfile"
version = "3.19.1"
version = "3.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf"
checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
dependencies = [
"fastrand",
"getrandom",
@@ -434,18 +434,18 @@ dependencies = [
[[package]]
name = "thiserror"
version = "1.0.69"
version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.69"
version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [
"proc-macro2",
"quote",

View File

@@ -4,13 +4,13 @@ members = ["macro"]
[workspace.package]
description = "Dynamically build Command objects with conditional expressions"
repository = "https://gitlab.com/wunker-bunker/comlexr"
version = "1.4.1"
version = "1.4.2"
edition = "2021"
rust-version = "1.60"
license = "MIT"
[workspace.dependencies]
tempfile = "3.6"
tempfile = "3.20"
[workspace.lints.rust]
unsafe_code = "forbid"
@@ -43,11 +43,11 @@ pre-release-replacements = [
all-features = true
[dependencies]
comlexr_macro = { version = "=1.4.1", path = "./macro" }
thiserror = "1.0.65"
comlexr_macro = { version = "=1.4.2", path = "./macro" }
thiserror = "2.0.12"
[dev-dependencies]
rstest = "0.24"
rstest = "0.25"
rusty-hook = "0.11"
tempfile.workspace = true

View File

@@ -8,7 +8,7 @@ Add `comlexr` to your project's `Cargo.toml`:
```toml
[dependencies]
comlexr = "1.4.1"
comlexr = "1.4.2"
```
## MSRV

View File

@@ -90,7 +90,7 @@ impl ToTokens for Pipe {
if !_output.status.success() {
return Err(::comlexr::ExecutorError::FailedCommand{
command: #prev_com_ident,
command: std::boxed::Box::new(#prev_com_ident),
exit_code: _output.status.code().unwrap_or(1),
});
}

View File

@@ -24,7 +24,10 @@ pub enum ExecutorError {
.collect::<Vec<_>>()
.join(" "),
)]
FailedCommand { command: Command, exit_code: i32 },
FailedCommand {
command: Box<Command>,
exit_code: i32,
},
/// No stdin Error
#[error("Unable to get mutable stdin")]