Commit 4236d9f53e
4236d9f53ef7aac4b84c4d6c7b5eb240ec6a0ebb
parent: 1ae22086f6
Unregistered key
Benjamin Grosse <ste3ls@gmail.com> · 2023-11-24 23:22 UTC
committer: <noreply@github.com>
Update to ratatui-image@0.4.3 to use native sixel lib (#181)
Layout: unified · split
.github/workflows/ci.yml
+2 −2
| @@ -44,9 +44,9 @@ jobs: |
| 44 | github_token: ${{ secrets.GITHUB_TOKEN }} |
44 | github_token: ${{ secrets.GITHUB_TOKEN }} |
| 45 | reporter: 'github-check' |
45 | reporter: 'github-check' |
| 46 | - name: Run tests |
46 | - name: Run tests |
| 47 | run: cargo test ${{ matrix.platform == 'windows-latest' && '--no-default-features' || '' }} |
47 | run: cargo test |
| 48 | - name: Build artifacts |
48 | - name: Build artifacts |
| 49 | run: cargo build --release ${{ matrix.platform == 'windows-latest' && '--no-default-features' || '' }} |
49 | run: cargo build --release |
| 50 | - name: Upload artifacts |
50 | - name: Upload artifacts |
| 51 | uses: actions/upload-artifact@master |
51 | uses: actions/upload-artifact@master |
| 52 | with: |
52 | with: |
Cargo.lock
+9 −28
| @@ -1656,6 +1656,12 @@ dependencies = [ |
| 1656 | "cc", |
1656 | "cc", |
| 1657 | ] |
1657 | ] |
| 1658 | |
1658 | |
| |
1659 | [[package]] |
| |
1660 | name = "icy_sixel" |
| |
1661 | version = "0.1.1" |
| |
1662 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| |
1663 | checksum = "1dc4d30216c3fc247730a4c6c74db2bd217a5454361ce24d70e504bda0cd345e" |
| |
1664 | |
| 1659 | [[package]] |
1665 | [[package]] |
| 1660 | name = "ident_case" |
1666 | name = "ident_case" |
| 1661 | version = "1.0.1" |
1667 | version = "1.0.1" |
| @@ -1933,12 +1939,6 @@ version = "0.1.1" |
| 1933 | source = "registry+https://github.com/rust-lang/crates.io-index" |
1939 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 1934 | checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" |
1940 | checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" |
| 1935 | |
1941 | |
| 1936 | [[package]] |
| |
| 1937 | name = "make-cmd" |
| |
| 1938 | version = "0.1.0" |
| |
| 1939 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| |
| 1940 | checksum = "a8ca8afbe8af1785e09636acb5a41e08a765f5f0340568716c18a8700ba3c0d3" |
| |
| 1941 | |
| |
| 1942 | [[package]] |
1942 | [[package]] |
| 1943 | name = "malloc_buf" |
1943 | name = "malloc_buf" |
| 1944 | version = "0.0.6" |
1944 | version = "0.0.6" |
| @@ -2882,19 +2882,19 @@ dependencies = [ |
| 2882 | |
2882 | |
| 2883 | [[package]] |
2883 | [[package]] |
| 2884 | name = "ratatui-image" |
2884 | name = "ratatui-image" |
| 2885 | version = "0.4.1" |
2885 | version = "0.4.3" |
| 2886 | source = "registry+https://github.com/rust-lang/crates.io-index" |
2886 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 2887 | checksum = "a3a43ba44f10847b9f76f54e528832b0d63029ce48be7663fb8ddded27ac1457" |
2887 | checksum = "d864e8e24222cc289906cc53fede6f8751ce2935d636842a04dc65dfb9958e62" |
| 2888 | dependencies = [ |
2888 | dependencies = [ |
| 2889 | "base64 0.21.4", |
2889 | "base64 0.21.4", |
| 2890 | "crossterm 0.25.0", |
2890 | "crossterm 0.25.0", |
| 2891 | "dyn-clone", |
2891 | "dyn-clone", |
| |
2892 | "icy_sixel", |
| 2892 | "image", |
2893 | "image", |
| 2893 | "rand 0.8.5", |
2894 | "rand 0.8.5", |
| 2894 | "ratatui", |
2895 | "ratatui", |
| 2895 | "rustix 0.38.17", |
2896 | "rustix 0.38.17", |
| 2896 | "serde", |
2897 | "serde", |
| 2897 | "sixel-bytes", |
| |
| 2898 | ] |
2898 | ] |
| 2899 | |
2899 | |
| 2900 | [[package]] |
2900 | [[package]] |
| @@ -3438,25 +3438,6 @@ version = "0.3.11" |
| 3438 | source = "registry+https://github.com/rust-lang/crates.io-index" |
3438 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3439 | checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" |
3439 | checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" |
| 3440 | |
3440 | |
| 3441 | [[package]] |
| |
| 3442 | name = "sixel-bytes" |
| |
| 3443 | version = "0.2.3" |
| |
| 3444 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| |
| 3445 | checksum = "45cad296a72571e80953823496e9a55caf893e264de9a7c5cfd29427fca720fc" |
| |
| 3446 | dependencies = [ |
| |
| 3447 | "sixel-sys-static", |
| |
| 3448 | ] |
| |
| 3449 | |
| |
| 3450 | [[package]] |
| |
| 3451 | name = "sixel-sys-static" |
| |
| 3452 | version = "0.3.2" |
| |
| 3453 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| |
| 3454 | checksum = "2988846c5099382a880a7dd385d38b203a60430710a9c22e538d500e6908f4f9" |
| |
| 3455 | dependencies = [ |
| |
| 3456 | "make-cmd", |
| |
| 3457 | "pkg-config", |
| |
| 3458 | ] |
| |
| 3459 | |
| |
| 3460 | [[package]] |
3441 | [[package]] |
| 3461 | name = "slab" |
3442 | name = "slab" |
| 3462 | version = "0.4.9" |
3443 | version = "0.4.9" |
Cargo.toml
+1 −1
| @@ -40,7 +40,7 @@ markup5ever_rcdom = "0.2.0" |
| 40 | mime = "^0.3.16" |
40 | mime = "^0.3.16" |
| 41 | mime_guess = "^2.0.4" |
41 | mime_guess = "^2.0.4" |
| 42 | open = "3.2.0" |
42 | open = "3.2.0" |
| 43 | ratatui-image = { version = "0.4.1", features = ["serde"] } |
43 | ratatui-image = { version = "0.4.3", features = ["serde"] } |
| 44 | regex = "^1.5" |
44 | regex = "^1.5" |
| 45 | rpassword = "^7.2" |
45 | rpassword = "^7.2" |
| 46 | serde = "^1.0" |
46 | serde = "^1.0" |