devobs 0.2.8__tar.gz → 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. {devobs-0.2.8 → devobs-0.3.0}/.github/workflows/ci.yaml +22 -13
  2. {devobs-0.2.8 → devobs-0.3.0}/.github/workflows/prepare-release.yaml +2 -2
  3. {devobs-0.2.8 → devobs-0.3.0}/.github/workflows/release.yaml +24 -11
  4. {devobs-0.2.8 → devobs-0.3.0}/.pre-commit-hooks.yaml +3 -3
  5. {devobs-0.2.8 → devobs-0.3.0}/Cargo.lock +29 -35
  6. {devobs-0.2.8 → devobs-0.3.0}/Cargo.toml +8 -8
  7. {devobs-0.2.8 → devobs-0.3.0}/PKG-INFO +1 -1
  8. {devobs-0.2.8 → devobs-0.3.0}/tests/helpers.rs +7 -1
  9. {devobs-0.2.8 → devobs-0.3.0}/.config/nextest.toml +0 -0
  10. {devobs-0.2.8 → devobs-0.3.0}/.devcontainer.example/devcontainer-lock.json +0 -0
  11. {devobs-0.2.8 → devobs-0.3.0}/.devcontainer.example/devcontainer.json +0 -0
  12. {devobs-0.2.8 → devobs-0.3.0}/.editorconfig +0 -0
  13. {devobs-0.2.8 → devobs-0.3.0}/.gitignore +0 -0
  14. {devobs-0.2.8 → devobs-0.3.0}/.pre-commit-config.yaml +0 -0
  15. {devobs-0.2.8 → devobs-0.3.0}/.rustfmt.toml +0 -0
  16. {devobs-0.2.8 → devobs-0.3.0}/.vscode.example/extensions.json +0 -0
  17. {devobs-0.2.8 → devobs-0.3.0}/.vscode.example/launch.json +0 -0
  18. {devobs-0.2.8 → devobs-0.3.0}/.vscode.example/settings.json +0 -0
  19. {devobs-0.2.8 → devobs-0.3.0}/CONTRIBUTING.md +0 -0
  20. {devobs-0.2.8 → devobs-0.3.0}/Justfile +0 -0
  21. {devobs-0.2.8 → devobs-0.3.0}/LICENSE +0 -0
  22. {devobs-0.2.8 → devobs-0.3.0}/README.md +0 -0
  23. {devobs-0.2.8 → devobs-0.3.0}/flake.lock +0 -0
  24. {devobs-0.2.8 → devobs-0.3.0}/flake.nix +0 -0
  25. {devobs-0.2.8 → devobs-0.3.0}/pyproject.toml +0 -0
  26. {devobs-0.2.8 → devobs-0.3.0}/renovate.json +0 -0
  27. {devobs-0.2.8 → devobs-0.3.0}/rust-toolchain.toml +0 -0
  28. {devobs-0.2.8 → devobs-0.3.0}/src/commands/assert_diff.rs +0 -0
  29. {devobs-0.2.8 → devobs-0.3.0}/src/commands/check_file_pair.rs +0 -0
  30. {devobs-0.2.8 → devobs-0.3.0}/src/commands.rs +0 -0
  31. {devobs-0.2.8 → devobs-0.3.0}/src/main.rs +0 -0
  32. {devobs-0.2.8 → devobs-0.3.0}/src/utils/fs.rs +0 -0
  33. {devobs-0.2.8 → devobs-0.3.0}/src/utils.rs +0 -0
  34. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/mod.rs +0 -0
  35. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_create-2.snap +0 -0
  36. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_create.snap +0 -0
  37. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_delete-2.snap +0 -0
  38. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_delete.snap +0 -0
  39. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_modify-2.snap +0 -0
  40. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_modify.snap +0 -0
  41. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__empty_directory.snap +0 -0
  42. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__no_changes.snap +0 -0
  43. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__no_command_to_run.snap +0 -0
  44. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__nonexistent_directory.snap +0 -0
  45. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__on_command_error_ignore.snap +0 -0
  46. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_assert_diff__on_command_error_propagate.snap +0 -0
  47. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__backward_matching.snap +0 -0
  48. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__create_if_not_exists.snap +0 -0
  49. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__create_if_not_exists_dry_run.snap +0 -0
  50. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__empty_directory_no_error_no_output.snap +0 -0
  51. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__forward_matching.snap +0 -0
  52. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__on_fully_populated_directory.snap +0 -0
  53. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/test_assert_diff.rs +0 -0
  54. {devobs-0.2.8 → devobs-0.3.0}/tests/commands/test_check_file_pair.rs +0 -0
  55. {devobs-0.2.8 → devobs-0.3.0}/tests/integration_test.rs +0 -0
@@ -19,10 +19,10 @@ jobs:
19
19
  contents: read
20
20
  steps:
21
21
  - name: Checkout
22
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
22
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23
23
 
24
24
  - name: Set up Rust toolchain
25
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
25
+ uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
26
26
 
27
27
  - name: Install nightly toolchain
28
28
  run: rustup toolchain install nightly --profile minimal --component rustfmt
@@ -41,52 +41,61 @@ jobs:
41
41
  contents: read
42
42
  steps:
43
43
  - name: Checkout
44
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
44
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45
45
 
46
46
  - name: Set up Rust toolchain
47
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
47
+ uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
48
+ with:
49
+ build-warnings: ""
48
50
 
49
51
  - name: Install nightly toolchain
50
52
  run: rustup toolchain install nightly --profile minimal --component miri
51
53
 
52
54
  - name: Install devtools
53
- uses: taiki-e/install-action@5b4d68e2e660441203ab128a23676f1e4faf1532 # v2.86.3
55
+ uses: taiki-e/install-action@1168f6810a3cb30a3514bf5756a3b7f0422c6df8 # v2.87.28
54
56
  with:
55
57
  tool: cargo-nextest
56
58
 
57
59
  - name: Run tests with Miri
58
60
  env:
59
- MIRIFLAGS: '-Zmiri-disable-isolation'
61
+ MIRIFLAGS: "-Zmiri-disable-isolation"
60
62
  run: |
61
63
  rustup run nightly cargo miri \
62
64
  nextest run --workspace --all-targets --all-features
63
65
 
64
66
  test:
65
- name: Test
66
- runs-on: ubuntu-latest
67
+ name: Test (${{ matrix.os }})
68
+ runs-on: ${{ matrix.os }}
67
69
  timeout-minutes: 15
68
70
  permissions:
69
71
  contents: read
70
72
  id-token: write
73
+ strategy:
74
+ matrix:
75
+ os:
76
+ - ubuntu-latest
77
+ - macos-latest
78
+ - windows-latest
71
79
  steps:
72
80
  - name: Checkout
73
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
81
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
74
82
 
75
83
  - name: Set up Rust toolchain
76
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
84
+ uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
77
85
 
78
86
  - name: Install devtools
79
- uses: taiki-e/install-action@5b4d68e2e660441203ab128a23676f1e4faf1532 # v2.86.3
87
+ uses: taiki-e/install-action@1168f6810a3cb30a3514bf5756a3b7f0422c6df8 # v2.87.28
80
88
  with:
81
89
  tool: cargo-llvm-cov,cargo-nextest
82
90
 
83
91
  - name: Run tests
92
+ shell: bash # Ensure Windows compatibility (Git Bash on Windows)
84
93
  run: |
85
94
  cargo llvm-cov nextest --workspace --all-targets --all-features --lcov --output-path lcov.info
86
95
  cargo llvm-cov report --summary-only
87
96
 
88
97
  - name: Upload test results to Codecov
89
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
98
+ uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
90
99
  with:
91
100
  use_oidc: true
92
101
  fail_ci_if_error: false
@@ -94,7 +103,7 @@ jobs:
94
103
  files: target/nextest/default/junit.xml
95
104
 
96
105
  - name: Upload coverage report
97
- uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
106
+ uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
98
107
  with:
99
108
  use_oidc: true
100
109
  fail_ci_if_error: false
@@ -29,7 +29,7 @@ jobs:
29
29
  fi
30
30
 
31
31
  - name: Checkout
32
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
32
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
33
33
 
34
34
  # https://github.com/killercup/cargo-edit/issues/864
35
35
  - name: Set version
@@ -47,7 +47,7 @@ jobs:
47
47
  sed --in-place "s/'devobs==.*'/'devobs==$tag_no_v'/" .pre-commit-hooks.yaml
48
48
 
49
49
  - name: Generate GitHub App token
50
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
50
+ uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
51
51
  id: generate-token
52
52
  with:
53
53
  client-id: ${{ vars.GH_APP_ID }}
@@ -4,13 +4,16 @@ on:
4
4
  release:
5
5
  types: [published]
6
6
 
7
+ # Dry-run (don't actually release) trigger for manual execution
8
+ workflow_dispatch: {}
9
+
7
10
  concurrency:
8
11
  group: ${{ github.workflow }}
9
12
  cancel-in-progress: false
10
13
 
11
14
  jobs:
12
15
  build:
13
- name: Build (${{ matrix.target }})
16
+ name: Build (${{ matrix.platform }}-${{ matrix.target }})
14
17
  runs-on: ${{ matrix.platform }}
15
18
  timeout-minutes: 15
16
19
  permissions:
@@ -20,10 +23,19 @@ jobs:
20
23
  matrix:
21
24
  include:
22
25
  - platform: ubuntu-latest
23
- target: x86_64
26
+ target: x86_64 # x86_64-unknown-linux-gnu
27
+ - platform: ubuntu-26.04-arm
28
+ target: aarch64 # aarch64-unknown-linux-gnu
29
+ - platform: macos-latest
30
+ target: aarch64 # aarch64-apple-darwin
31
+ # We do not, and will not, support x86_64 on macOS
32
+ - platform: windows-latest
33
+ target: x86_64 # x86_64-pc-windows-msvc
34
+ - platform: windows-11-arm
35
+ target: aarch64 # aarch64-pc-windows-msvc
24
36
  steps:
25
37
  - name: Checkout
26
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
38
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27
39
 
28
40
  - name: Build wheels
29
41
  uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
@@ -32,9 +44,9 @@ jobs:
32
44
  args: --release --out dist
33
45
 
34
46
  - name: Upload wheels as artifact
35
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
47
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
36
48
  with:
37
- name: dist-${{ matrix.target }}
49
+ name: dist-${{ matrix.platform }}-${{ matrix.target }}
38
50
  path: dist
39
51
 
40
52
  sdist:
@@ -45,7 +57,7 @@ jobs:
45
57
  contents: read
46
58
  steps:
47
59
  - name: Checkout
48
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
60
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
49
61
 
50
62
  - name: Build sdist
51
63
  uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
@@ -54,13 +66,14 @@ jobs:
54
66
  args: --out dist
55
67
 
56
68
  - name: Upload sdist as artifact
57
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
69
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
58
70
  with:
59
71
  name: sdist
60
72
  path: dist
61
73
 
62
74
  release:
63
75
  name: Release
76
+ if: github.event_name == 'release' && github.event.action == 'published'
64
77
  needs: [build, sdist]
65
78
  runs-on: ubuntu-latest
66
79
  timeout-minutes: 5
@@ -68,7 +81,7 @@ jobs:
68
81
  contents: write
69
82
  steps:
70
83
  - name: Download binary artifacts
71
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
84
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
72
85
  with:
73
86
  path: dist
74
87
 
@@ -76,13 +89,13 @@ jobs:
76
89
  run: ls -l --all --recursive dist
77
90
 
78
91
  - name: Create release
79
- uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2
92
+ uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
80
93
  with:
81
94
  tag_name: ${{ github.event.release.tag_name }}
82
95
  generate_release_notes: false
83
96
  files: |
84
97
  dist/sdist/devobs-*.tar.gz
85
- dist/dist-*/devobs-*.whl
98
+ dist/dist-*-*/devobs-*.whl
86
99
 
87
100
  publish-pypi:
88
101
  name: Publish to PyPI
@@ -94,7 +107,7 @@ jobs:
94
107
  id-token: write
95
108
  steps:
96
109
  - name: Download binary artifacts
97
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
110
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
98
111
  with:
99
112
  path: dist
100
113
  merge-multiple: true
@@ -6,17 +6,17 @@
6
6
  name: devobs
7
7
  description: Run devobs commands using pipx
8
8
  language: system
9
- entry: pipx run 'devobs==0.2.8'
9
+ entry: pipx run 'devobs==0.3.0'
10
10
 
11
11
  # Shortcuts for each command for convenience
12
12
  - id: check-file-pair
13
13
  name: check-file-pair
14
14
  language: system
15
- entry: pipx run 'devobs==0.2.8' check-file-pair
15
+ entry: pipx run 'devobs==0.3.0' check-file-pair
16
16
  pass_filenames: false
17
17
 
18
18
  - id: assert-diff
19
19
  name: assert-diff
20
20
  language: system
21
- entry: pipx run 'devobs==0.2.8' assert-diff
21
+ entry: pipx run 'devobs==0.3.0' assert-diff
22
22
  pass_filenames: false
@@ -116,6 +116,12 @@ version = "0.22.1"
116
116
  source = "registry+https://github.com/rust-lang/crates.io-index"
117
117
  checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
118
118
 
119
+ [[package]]
120
+ name = "base64"
121
+ version = "0.23.1"
122
+ source = "registry+https://github.com/rust-lang/crates.io-index"
123
+ checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
124
+
119
125
  [[package]]
120
126
  name = "bitflags"
121
127
  version = "2.13.0"
@@ -171,9 +177,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
171
177
 
172
178
  [[package]]
173
179
  name = "clap"
174
- version = "4.6.6"
180
+ version = "4.6.7"
175
181
  source = "registry+https://github.com/rust-lang/crates.io-index"
176
- checksum = "473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca"
182
+ checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
177
183
  dependencies = [
178
184
  "clap_builder",
179
185
  "clap_derive",
@@ -181,9 +187,9 @@ dependencies = [
181
187
 
182
188
  [[package]]
183
189
  name = "clap_builder"
184
- version = "4.6.6"
190
+ version = "4.6.7"
185
191
  source = "registry+https://github.com/rust-lang/crates.io-index"
186
- checksum = "7b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889"
192
+ checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
187
193
  dependencies = [
188
194
  "anstream",
189
195
  "anstyle",
@@ -193,9 +199,9 @@ dependencies = [
193
199
 
194
200
  [[package]]
195
201
  name = "clap_derive"
196
- version = "4.6.4"
202
+ version = "4.6.7"
197
203
  source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061"
204
+ checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
199
205
  dependencies = [
200
206
  "heck",
201
207
  "proc-macro2",
@@ -279,7 +285,7 @@ checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
279
285
 
280
286
  [[package]]
281
287
  name = "devobs"
282
- version = "0.2.8"
288
+ version = "0.3.0"
283
289
  dependencies = [
284
290
  "anyhow",
285
291
  "assert_cmd",
@@ -416,17 +422,6 @@ version = "0.3.32"
416
422
  source = "registry+https://github.com/rust-lang/crates.io-index"
417
423
  checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
418
424
 
419
- [[package]]
420
- name = "futures-macro"
421
- version = "0.3.32"
422
- source = "registry+https://github.com/rust-lang/crates.io-index"
423
- checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
424
- dependencies = [
425
- "proc-macro2",
426
- "quote",
427
- "syn 2.0.118",
428
- ]
429
-
430
425
  [[package]]
431
426
  name = "futures-sink"
432
427
  version = "0.3.32"
@@ -452,7 +447,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
452
447
  checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
453
448
  dependencies = [
454
449
  "futures-core",
455
- "futures-macro",
456
450
  "futures-task",
457
451
  "pin-project-lite",
458
452
  "slab",
@@ -614,7 +608,7 @@ version = "0.1.20"
614
608
  source = "registry+https://github.com/rust-lang/crates.io-index"
615
609
  checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
616
610
  dependencies = [
617
- "base64",
611
+ "base64 0.22.1",
618
612
  "bytes",
619
613
  "futures-channel",
620
614
  "futures-util",
@@ -748,9 +742,9 @@ dependencies = [
748
742
 
749
743
  [[package]]
750
744
  name = "insta"
751
- version = "1.48.0"
745
+ version = "1.49.0"
752
746
  source = "registry+https://github.com/rust-lang/crates.io-index"
753
- checksum = "86f0f8fee8c926415c58d6ae43a08523a26faccb2323f5e6b644fe7dd4ef6b82"
747
+ checksum = "b67d3d2e287e4b86c10b3f3b641033d1f89b74bdb39d05f34952e2b9a6fe21cd"
754
748
  dependencies = [
755
749
  "console",
756
750
  "once_cell",
@@ -875,9 +869,9 @@ dependencies = [
875
869
 
876
870
  [[package]]
877
871
  name = "log"
878
- version = "0.4.33"
872
+ version = "0.4.34"
879
873
  source = "registry+https://github.com/rust-lang/crates.io-index"
880
- checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
874
+ checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
881
875
 
882
876
  [[package]]
883
877
  name = "lru-slab"
@@ -1223,11 +1217,11 @@ checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
1223
1217
 
1224
1218
  [[package]]
1225
1219
  name = "reqwest"
1226
- version = "0.13.4"
1220
+ version = "0.13.5"
1227
1221
  source = "registry+https://github.com/rust-lang/crates.io-index"
1228
- checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
1222
+ checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029"
1229
1223
  dependencies = [
1230
- "base64",
1224
+ "base64 0.23.1",
1231
1225
  "bytes",
1232
1226
  "encoding_rs",
1233
1227
  "futures-core",
@@ -1275,9 +1269,9 @@ dependencies = [
1275
1269
 
1276
1270
  [[package]]
1277
1271
  name = "rstest"
1278
- version = "0.26.1"
1272
+ version = "0.27.0"
1279
1273
  source = "registry+https://github.com/rust-lang/crates.io-index"
1280
- checksum = "f5a3193c063baaa2a95a33f03035c8a72b83d97a54916055ba22d35ed3839d49"
1274
+ checksum = "948203e6d13b83e51a90d7cf236dd58a0065f23f4b902f00f306e7eb2bd09b9c"
1281
1275
  dependencies = [
1282
1276
  "futures-timer",
1283
1277
  "futures-util",
@@ -1286,9 +1280,9 @@ dependencies = [
1286
1280
 
1287
1281
  [[package]]
1288
1282
  name = "rstest_macros"
1289
- version = "0.26.1"
1283
+ version = "0.27.0"
1290
1284
  source = "registry+https://github.com/rust-lang/crates.io-index"
1291
- checksum = "9c845311f0ff7951c5506121a9ad75aec44d083c31583b2ea5a30bcb0b0abba0"
1285
+ checksum = "a8d92eaf7b6e51e12471d71ddc72608e7151573de44099aacfbb1128177c0da4"
1292
1286
  dependencies = [
1293
1287
  "cfg-if",
1294
1288
  "glob",
@@ -1573,9 +1567,9 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
1573
1567
 
1574
1568
  [[package]]
1575
1569
  name = "strfmt"
1576
- version = "0.2.5"
1570
+ version = "0.2.6"
1577
1571
  source = "registry+https://github.com/rust-lang/crates.io-index"
1578
- checksum = "29fdc163db75f7b5ffa3daf0c5a7136fb0d4b2f35523cd1769da05e034159feb"
1572
+ checksum = "046d549b88a663d317cd04d39696fca5f77db4db44e1db65bfb9dee7f9e680bd"
1579
1573
 
1580
1574
  [[package]]
1581
1575
  name = "strsim"
@@ -1765,9 +1759,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1765
1759
 
1766
1760
  [[package]]
1767
1761
  name = "tokio"
1768
- version = "1.53.1"
1762
+ version = "1.53.3"
1769
1763
  source = "registry+https://github.com/rust-lang/crates.io-index"
1770
- checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed"
1764
+ checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e"
1771
1765
  dependencies = [
1772
1766
  "bytes",
1773
1767
  "libc",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "devobs"
3
- version = "0.2.8"
3
+ version = "0.3.0"
4
4
  edition = "2024"
5
5
  description = "CLI for obsessed developers."
6
6
  readme = "README.md"
@@ -9,21 +9,21 @@ homepage = "https://github.com/lasuillard-s/devobs"
9
9
  license = "MIT"
10
10
 
11
11
  [dependencies]
12
- clap = { version = "=4.6.6", features = ["derive"] }
12
+ clap = { version = "=4.6.7", features = ["derive"] }
13
13
  glob = "=0.3.4"
14
- log = "=0.4.33"
14
+ log = "=0.4.34"
15
15
  regex = "=1.13.1"
16
16
  simplelog = "=0.12.2"
17
- strfmt = "=0.2.5"
18
- tokio = { version = "=1.53.1", features = ["full"] }
17
+ strfmt = "=0.2.6"
18
+ tokio = { version = "=1.53.3", features = ["full"] }
19
19
  anyhow = "=1.0.104"
20
20
  sugars = "=3.0.1"
21
21
  serde = { version = "=1.0.229", features = ["derive"] }
22
22
 
23
23
  [dev-dependencies]
24
24
  assert_cmd = "=2.2.2"
25
- insta = "=1.48.0"
25
+ insta = "=1.49.0"
26
26
  mockall = "=0.15.0"
27
- reqwest = "=0.13.4"
28
- rstest = "=0.26.1"
27
+ reqwest = "=0.13.5"
28
+ rstest = "=0.27.0"
29
29
  tempfile = "=3.27.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devobs
3
- Version: 0.2.8
3
+ Version: 0.3.0
4
4
  Summary: CLI for obsessed developers.
5
5
  Home-Page: https://github.com/lasuillard-s/devobs
6
6
  Author: Yuchan Lee <lasuillard@gmail.com>
@@ -32,6 +32,12 @@ pub(crate) fn normalize_console_output<S: AsRef<str>, T: ToString + std::fmt::Di
32
32
  output = output.replace(&key.to_string(), value);
33
33
  }
34
34
 
35
+ #[cfg(windows)]
36
+ {
37
+ output = output.replace("\\", "/");
38
+ output = output.replace("exit code: ", "exit status: ");
39
+ }
40
+
35
41
  output
36
42
  }
37
43
 
@@ -83,7 +89,7 @@ pub(crate) fn list_dir(dir: &Path) -> Vec<String> {
83
89
  .expect("Failed to strip prefix")
84
90
  .to_str()
85
91
  .expect("Failed to convert path to str")
86
- .to_owned()
92
+ .replace("\\", "/")
87
93
  })
88
94
  .collect()
89
95
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes