Gered
93c2180da2
since we're doing offset/length checks regardless, calling memcmp here instead of doing a slice comparison is at least twice as fast during non-release builds. this is nice, as prs_compress can be quite slow during non-release builds. and obviously during release builds, this would be compiled down to a memcmp-equivalent anyway.
20 lines
396 B
TOML
20 lines
396 B
TOML
[package]
|
|
name = "psoutils"
|
|
version = "0.1.0"
|
|
authors = ["gered <gered@blarg.ca>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
byte-slice-cast = "0.3.5"
|
|
byteorder = "1.4.3"
|
|
thiserror = "1.0.24"
|
|
encoding_rs = "0.8.28"
|
|
libc = "0.2.94"
|
|
|
|
[dev-dependencies]
|
|
claim = "0.5.0"
|
|
pretty-hex = "0.2.1"
|
|
tempfile = "3.2.0"
|