-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (34 loc) · 1022 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "buf-ref-reader"
description = "Faster, growable buffering reader for when there's little to no need to modify data, nor to keep it alive past next read."
version = "0.3.0"
authors = ["vthriller <[email protected]>"]
repository = "https://github.com/vthriller/rust-buf-ref-reader"
license = "Apache-2.0"
readme = "README.md"
edition = "2018"
[dependencies]
memchr = "2"
vmap = "0.6.3"
quick-error = "1.2"
[dev-dependencies]
fnv = "1"
criterion = "0.5"
# use libc's memchr to make comparison with BufReader fair
# as of 1.32.0:
# - modules in std::io import std::memchr::memchr (which is private),
# - std::memchr::memchr just calls sys::memchr::memchr…
# - …which, at least on unix, is just a thin layer upon libc::memchr.
memchr = { version = "2", default-features = false, features = ["libc"]}
[[bench]]
name = "bench_hashmap"
harness = false
[[bench]]
name = "bench_read"
harness = false
[[bench]]
name = "bench_read_until"
harness = false
[[bench]]
name = "buffer"
harness = false