sapling/lib/indexedlog/Cargo.toml
Jun Wu 12b98e1e96 indexedlog: use failure for error handling
Summary:
Failure makes it easier to chain errors, and backtraces. Use it.

There is probably still room for improvement, by chainning errors and avoiding
exposing low-level errors for APIs, and/or provide more context in error
messages. But it should be already much better than before.

Differential Revision: D14759305

fbshipit-source-id: b1d3a8ec959dde575f06533ea9e4cd0757057051
2019-04-05 12:17:28 -07:00

33 lines
458 B
TOML

[package]
name = "indexedlog"
version = "0.1.0"
edition = "2018"
[dependencies]
byteorder = "1.2.7"
bytes = "0.4.10"
failure = "0.1.5"
fs2 = "0.4.3"
memmap = "0.7.0"
tempfile = "3.0.7"
twox-hash = "*"
vlqencoding = { path = "../vlqencoding" }
[dev-dependencies]
minibench = { path = "../minibench" }
quickcheck = "0.6"
rand = "0.4"
[[bench]]
name = "index"
harness = false
[[bench]]
name = "misc"
harness = false
[[bench]]
name = "log"
harness = false