No need to use crate utf8-chars, we can read/write at the byte level

This commit is contained in:
Nicolas Musset 2021-08-22 10:55:24 +09:00
parent a78e6d3e4b
commit 8832d617a3
No known key found for this signature in database
GPG key ID: 090B167B09F29DB2
3 changed files with 18 additions and 37 deletions

16
Cargo.lock generated
View file

@ -11,12 +11,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "arrayvec"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
[[package]]
name = "atty"
version = "0.2.14"
@ -250,7 +244,6 @@ version = "1.0.1"
dependencies = [
"clap",
"criterion",
"utf8-chars",
]
[[package]]
@ -528,15 +521,6 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
name = "utf8-chars"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1348d8face79d019be7cbc0198e36bf93e160ddbfaa7bb54c9592627b9ec841"
dependencies = [
"arrayvec",
]
[[package]]
name = "vec_map"
version = "0.8.2"