sapling/eden/mononoke/derived_data/Cargo.toml
Thomas Orozco ae2566a807 mononoke/derived_data: refer to a tunable to know whether to log slow derivation
Summary:
We don't want to log slow derivations in tests. To do that, let's look at at
unable to decide if we should log.

We only log if the threshold is > 0, so since the default is 0, that means we
won't log unless a config overrides it (which won't be the case in tests, but
will be the case everywhere else: D24329372).

Reviewed By: StanislavGlebik

Differential Revision: D24329377

fbshipit-source-id: e9d70236c614780e383870297d08afaf64450383
2020-10-15 04:03:38 -07:00

49 lines
2.1 KiB
TOML

[package]
name = "derived_data"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs"]
[dependencies]
blobrepo = { path = "../blobrepo" }
blobstore = { path = "../blobstore" }
bounded_traversal = { path = "../common/bounded_traversal" }
cacheblob = { path = "../blobstore/cacheblob" }
context = { path = "../server/context" }
metaconfig_types = { path = "../metaconfig/types" }
mononoke_types = { path = "../mononoke_types" }
scuba_ext = { path = "../common/scuba_ext" }
topo_sort = { path = "../common/topo_sort" }
tunables = { path = "../tunables" }
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
lock_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
time_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
tracing = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
anyhow = "1.0"
async-trait = "0.1.29"
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1" }
rand = { version = "0.7", features = ["small_rng"] }
slog = { version = "2.5", features = ["max_level_debug"] }
thiserror = "1.0"
tokio = { version = "=0.2.13", features = ["full"] }
[dev-dependencies]
blobrepo_hg = { path = "../blobrepo/blobrepo_hg" }
blobrepo_override = { path = "../blobrepo/override" }
bookmarks = { path = "../bookmarks" }
fixtures = { path = "../tests/fixtures" }
mercurial_types = { path = "../mercurial/types" }
revset = { path = "../revset" }
tests_utils = { path = "../tests/utils" }
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
lazy_static = "1.0"
maplit = "1.0"
tokio-compat = "0.1"
tokio-timer = "0.2"