mirror of
https://github.com/facebook/sapling.git
synced 2024-12-26 22:47:26 +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
17 lines
396 B
TOML
17 lines
396 B
TOML
[package]
|
|
name = "nodemap"
|
|
version = "0.1.0"
|
|
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.20"
|
|
indexedlog = { path = "../indexedlog" }
|
|
thiserror = "1.0.5"
|
|
types = { path = "../types" }
|
|
|
|
[dev-dependencies]
|
|
quickcheck = "0.9"
|
|
tempfile = "3.0.5"
|
|
types = { path = "../types", default-features = false, features = ["for-tests"] }
|