diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 95891bd..ee5e477 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -255,7 +255,7 @@ jobs: cargo deb --profile deb --target ${{ matrix.target }} version="${{ github.ref_name }}" echo "DEB_DIR=target/${{ matrix.target }}/debian" >> $GITHUB_ENV - echo "DEB_NAME=tv-$version-${{ matrix.os }}-${{ matrix.arch }}.deb" >> $GITHUB_ENV + echo "DEB_NAME=tv-$version-1_${{ matrix.arch }}.deb" >> $GITHUB_ENV - name: Create sha256 sum of deb file shell: bash diff --git a/Cargo.lock b/Cargo.lock index 00484d8..2a78288 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -238,6 +238,21 @@ dependencies = [ "serde", ] +[[package]] +name = "bit-set" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" + [[package]] name = "bit_field" version = "0.10.2" @@ -741,6 +756,16 @@ dependencies = [ "zune-inflate", ] +[[package]] +name = "fancy-regex" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2" +dependencies = [ + "bit-set", + "regex", +] + [[package]] name = "fastrand" version = "2.3.0" @@ -1185,6 +1210,12 @@ dependencies = [ "libc", ] +[[package]] +name = "linked-hash-map" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" + [[package]] name = "linux-raw-sys" version = "0.4.15" @@ -2150,16 +2181,19 @@ checksum = "874dcfa363995604333cf947ae9f751ca3af4522c60886774c4963943b4746b1" dependencies = [ "bincode", "bitflags 1.3.2", + "fancy-regex", "flate2", "fnv", "once_cell", "onig", + "plist", "regex-syntax 0.8.5", "serde", "serde_derive", "serde_json", "thiserror 1.0.69", "walkdir", + "yaml-rust", ] [[package]] @@ -2866,6 +2900,15 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4de5f056fb9dc8b7908754867544e26145767187aaac5a98495e88ad7cb8a80f" +[[package]] +name = "yaml-rust" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" +dependencies = [ + "linked-hash-map", +] + [[package]] name = "zerocopy" version = "0.8.23" diff --git a/Cargo.toml b/Cargo.toml index 1c976ea..6dab32d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -68,6 +68,13 @@ image = "0.25" winapi-util = "0.1.9" clipboard-win = "5.4.0" +# on arm64, use `syntect` with `fancy-regex` instead of `oniguruma` (build issues) +[target.'cfg(target_arch = "aarch64")'.dependencies] +syntect = { version = "5.2", default-features = false, features = [ + "default-fancy", +] } +bat = { version = "0.25", default-features = false, features = ["regex-fancy"] } + [dev-dependencies] criterion = { version = "0.5", features = ["async_tokio"] } tempfile = "3.16.0"