mirror of
https://github.com/facebook/sapling.git
synced 2024-12-26 14:34:34 +03:00
d1d8fb939a
Summary: This diff replaces eden's dependencies on failure::Error with anyhow::Error. Failure's error type requires all errors to have an implementation of failure's own failure::Fail trait in order for cause chains and backtraces to work. The necessary methods for this functionality have made their way into the standard library error trait, so modern error libraries build directly on std::error::Error rather than something like failure::Fail. Once we are no longer tied to failure 0.1's Fail trait, different parts of the codebase will be free to use any std::error::Error-based libraries they like while still working nicely together. Reviewed By: xavierd Differential Revision: D18576093 fbshipit-source-id: e2d862b659450f2969520d9b74877913fabb2e5d
21 lines
412 B
TOML
21 lines
412 B
TOML
[package]
|
|
name = "treestate"
|
|
version = "0.1.0"
|
|
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.20"
|
|
bitflags = "1.0.4"
|
|
byteorder = "1.2.7"
|
|
thiserror = "1.0.5"
|
|
twox-hash = "*"
|
|
vlqencoding = { version = "0.1.0", path = "../vlqencoding" }
|
|
|
|
[dev-dependencies]
|
|
itertools = "0.8"
|
|
quickcheck = "0.9"
|
|
rand = "0.7"
|
|
rand_chacha = "0.2"
|
|
tempdir = "0.3.7"
|