Repository: sharksforarms/deku (rust)

Issue:
hexlit Suggestion
This is really just a suggestion, but switching out hex-literal as a dev dependency for [hexlit](https://github.com/inspier/hexlit) might be very marginally faster for your tests. Oh and let me know if you would prefer not to and I'll happily close this issue.

Pull request description:
cargo: Switched dev-dependency hex_literal for hexlit.
Closes #98 .

Patch:
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 55676cb..81e3242 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -1,15 +1,13 @@
 on: [pull_request]
-
 name: CI Pull Request
-
 jobs:
-  benchmark:
+  runBenchmark:
     name: Benchmark
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@master
         with:
           fetch-depth: 0
-      - uses: matchai/criterion-compare-action@master
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      - uses: jasonwilliams/criterion-compare-action@move_to_actions
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/Cargo.toml b/Cargo.toml
index 05441bd..d27f7c2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -28,7 +28,7 @@ deku_derive = { version = "^0.7.0", path = "deku-derive" }
 bitvec = { version = "0.19", default-features = false }
 
 [dev-dependencies]
-hex-literal = "0.3"
+hexlit = "0.3.0"
 rstest = "0.6"
 criterion = "=0.3.2"
 alloc_counter = "0.0.4"
diff --git a/examples/enums.rs b/examples/enums.rs
index cd53e67..4664fc1 100644
--- a/examples/enums.rs
+++ b/examples/enums.rs
@@ -1,5 +1,5 @@
 use deku::prelude::*;
-use hex_literal::hex;
+use hexlit::hex;
 use std::convert::TryFrom;
 
 #[derive(Debug, PartialEq, DekuRead, DekuWrite)]
diff --git a/examples/ipv4.rs b/examples/ipv4.rs
index add5ec8..7705283 100644
--- a/examples/ipv4.rs
+++ b/examples/ipv4.rs
@@ -1,5 +1,5 @@
 use deku::prelude::*;
-use hex_literal::hex;
+use hexlit::hex;
 use std::convert::{TryFrom, TryInto};
 use std::net::Ipv4Addr;
 


Test patch:
diff --git a/tests/test_alloc.rs b/tests/test_alloc.rs
index bed033f..3893beb 100644
--- a/tests/test_alloc.rs
+++ b/tests/test_alloc.rs
@@ -38,7 +38,7 @@ mod tests {
 
     use super::*;
     use alloc_counter::count_alloc;
-    use hex_literal::hex;
+    use hexlit::hex;
     use std::convert::TryFrom;
 
     #[test]
diff --git a/tests/test_macro.rs b/tests/test_macro.rs
index af57726..e9b5c2f 100644
--- a/tests/test_macro.rs
+++ b/tests/test_macro.rs
@@ -1,5 +1,5 @@
 use deku::prelude::*;
-use hex_literal::hex;
+use hexlit::hex;
 use rstest::rstest;
 use std::convert::{TryFrom, TryInto};