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]]
1660name = "icy_sixel"
1661version = "0.1.1"
1662source = "registry+https://github.com/rust-lang/crates.io-index"
1663checksum = "1dc4d30216c3fc247730a4c6c74db2bd217a5454361ce24d70e504bda0cd345e"
1664
1659[[package]] 1665[[package]]
1660name = "ident_case" 1666name = "ident_case"
1661version = "1.0.1" 1667version = "1.0.1"
@@ -1933,12 +1939,6 @@ version = "0.1.1"
1933source = "registry+https://github.com/rust-lang/crates.io-index" 1939source = "registry+https://github.com/rust-lang/crates.io-index"
1934checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" 1940checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
1935 1941
1936[[package]]
1937name = "make-cmd"
1938version = "0.1.0"
1939source = "registry+https://github.com/rust-lang/crates.io-index"
1940checksum = "a8ca8afbe8af1785e09636acb5a41e08a765f5f0340568716c18a8700ba3c0d3"
1941
1942[[package]] 1942[[package]]
1943name = "malloc_buf" 1943name = "malloc_buf"
1944version = "0.0.6" 1944version = "0.0.6"
@@ -2882,19 +2882,19 @@ dependencies = [
2882 2882
2883[[package]] 2883[[package]]
2884name = "ratatui-image" 2884name = "ratatui-image"
2885version = "0.4.1" 2885version = "0.4.3"
2886source = "registry+https://github.com/rust-lang/crates.io-index" 2886source = "registry+https://github.com/rust-lang/crates.io-index"
2887checksum = "a3a43ba44f10847b9f76f54e528832b0d63029ce48be7663fb8ddded27ac1457" 2887checksum = "d864e8e24222cc289906cc53fede6f8751ce2935d636842a04dc65dfb9958e62"
2888dependencies = [ 2888dependencies = [
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"
3438source = "registry+https://github.com/rust-lang/crates.io-index" 3438source = "registry+https://github.com/rust-lang/crates.io-index"
3439checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" 3439checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
3440 3440
3441[[package]]
3442name = "sixel-bytes"
3443version = "0.2.3"
3444source = "registry+https://github.com/rust-lang/crates.io-index"
3445checksum = "45cad296a72571e80953823496e9a55caf893e264de9a7c5cfd29427fca720fc"
3446dependencies = [
3447 "sixel-sys-static",
3448]
3449
3450[[package]]
3451name = "sixel-sys-static"
3452version = "0.3.2"
3453source = "registry+https://github.com/rust-lang/crates.io-index"
3454checksum = "2988846c5099382a880a7dd385d38b203a60430710a9c22e538d500e6908f4f9"
3455dependencies = [
3456 "make-cmd",
3457 "pkg-config",
3458]
3459
3460[[package]] 3441[[package]]
3461name = "slab" 3442name = "slab"
3462version = "0.4.9" 3443version = "0.4.9"
Cargo.toml +1 −1
@@ -40,7 +40,7 @@ markup5ever_rcdom = "0.2.0"
40mime = "^0.3.16" 40mime = "^0.3.16"
41mime_guess = "^2.0.4" 41mime_guess = "^2.0.4"
42open = "3.2.0" 42open = "3.2.0"
43ratatui-image = { version = "0.4.1", features = ["serde"] } 43ratatui-image = { version = "0.4.3", features = ["serde"] }
44regex = "^1.5" 44regex = "^1.5"
45rpassword = "^7.2" 45rpassword = "^7.2"
46serde = "^1.0" 46serde = "^1.0"