Skip to content

Commit 376c76e

Browse files
committed
Merge branch 'refactor'
2 parents 7ec8357 + 4c164aa commit 376c76e

29 files changed

+2360
-1136
lines changed

.github/FUNDING.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [ Lymphatus ]
2+
#custom: ['https://www.paypal.com/donate/?hosted_button_id=W74TDJHTBKSAY']

.github/dependabot.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
83
- package-ecosystem: "cargo" # See documentation for possible values
94
directory: "/" # Location of package manifests
105
open-pull-requests-limit: 0
116
schedule:
12-
interval: "weekly"
7+
interval: "weekly"

.github/workflows/build.yml

-122
This file was deleted.

.github/workflows/clippy.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Clippy check
2+
on:
3+
push:
4+
paths:
5+
- 'src/**'
6+
- '.github/**'
7+
pull_request:
8+
paths:
9+
- 'src/**'
10+
- '.github/**'
11+
12+
env:
13+
RUSTFLAGS: "-Dwarnings"
14+
15+
jobs:
16+
clippy_check:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Run Clippy
21+
run: cargo clippy --all-targets --all-features

.github/workflows/fmt.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Code formatting
2+
3+
on:
4+
push:
5+
paths:
6+
- 'src/**'
7+
- '.github/**'
8+
pull_request:
9+
paths:
10+
- 'src/**'
11+
- '.github/**'
12+
13+
jobs:
14+
fmt_check:
15+
name: Fmt
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: dtolnay/rust-toolchain@stable
23+
with:
24+
components: rustfmt
25+
26+
- name: Check code formatting
27+
run: cargo fmt -- --check

.github/workflows/test.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'docs/**'
7+
- 'CHANGELOG.md'
8+
- 'LICENSE.md'
9+
- 'README.md'
10+
pull_request:
11+
paths-ignore:
12+
- 'docs/**'
13+
- 'CHANGELOG.md'
14+
- 'LICENSE.md'
15+
- 'README.md'
16+
17+
env:
18+
CARGO_TERM_COLOR: always
19+
20+
jobs:
21+
build:
22+
runs-on: ${{ matrix.os }}
23+
strategy:
24+
matrix:
25+
os: [ macos-latest, ubuntu-latest, windows-latest ]
26+
27+
steps:
28+
- uses: actions/checkout@v4
29+
- name: Build
30+
run: cargo build --verbose --release
31+
- name: Run tests
32+
run: cargo test --verbose --release

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,6 @@ fabric.properties
7878
.idea/httpRequests
7979

8080
# Android studio 3.1+ serialized cache file
81-
.idea/caches/build_file_checksums.ser
81+
.idea/caches/build_file_checksums.ser
82+
83+
/tmp

.idea/cclt.iml

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

+21-20
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
## CHANGELOG
2-
* 0.22.0 - Same folder as input, suffix options + lossless flag
3-
* 0.21.0 - Compress by quality and long/short edge resize options
4-
* 0.20.0 - Keep original dates and format conversion
5-
* 0.19.0 - Rust migration
6-
* 0.18.0 - Fixed Windows build + libcaesium 0.9.3
7-
* 0.17.0 - libcaesium 0.9.2
8-
* 0.16.0 - Using libcaesium Rust library
9-
* 0.15.2 - Fixed Windows -RS bug
10-
* 0.15.1 - Fixed rename bug on Windows + "Compressing..." message
11-
* 0.15.0 - Support for libcaesium 0.5.0
12-
* 0.14.0 - Added --quiet option
13-
* 0.13.1 - Bugfix
14-
* 0.13.0 - Bugfix
15-
* 0.12.1 - Bugfix
16-
* 0.12.0 - Resizing (experimental)
17-
* 0.11.0 - Fixing paths issues and dry-run option
18-
* 0.10.2 - Bugfixes & full Windows support
19-
* 0.10.1 - All features are available
20-
* 0.10.0 - Switched to cmake build system and libcaesium
21-
* 0.9.1 - Initial development stage
2+
3+
- 1.0.0-beta.0 - Same folder as input, suffix options + lossless flag + code refactoring
4+
- 0.21.0 - Compress by quality and long/short edge resize options
5+
- 0.20.0 - Keep original dates and format conversion
6+
- 0.19.0 - Rust migration
7+
- 0.18.0 - Fixed Windows build + libcaesium 0.9.3
8+
- 0.17.0 - libcaesium 0.9.2
9+
- 0.16.0 - Using libcaesium Rust library
10+
- 0.15.2 - Fixed Windows -RS bug
11+
- 0.15.1 - Fixed rename bug on Windows + "Compressing..." message
12+
- 0.15.0 - Support for libcaesium 0.5.0
13+
- 0.14.0 - Added --quiet option
14+
- 0.13.1 - Bugfix
15+
- 0.13.0 - Bugfix
16+
- 0.12.1 - Bugfix
17+
- 0.12.0 - Resizing (experimental)
18+
- 0.11.0 - Fixing paths issues and dry-run option
19+
- 0.10.2 - Bugfixes & full Windows support
20+
- 0.10.1 - All features are available
21+
- 0.10.0 - Switched to cmake build system and libcaesium
22+
- 0.9.1 - Initial development stage

0 commit comments

Comments
 (0)