sapling/eden/mononoke/blobstore/Cargo.toml
Mistral Orhan Jean-Pierre Contrastin 5fe820dd06 Expose ctime from Blobstore::get() in mononoke
Summary:
- Change get return value for `Blobstore` from `BlobstoreBytes` to `BlobstoreGetData` which include `ctime` metadata
- Update the call sites and tests broken due to this change
- Change `ScrubHandler::on_repair` to accept metadata and log ctime
- `Fileblob` and `Manifoldblob` attach the ctime metadata
- Tests for fileblob in `mononoke:blobstore-test` and integration test `test-walker-scrub-blobstore.t`
- Make cachelib based caching use `BlobstoreGetData`

Reviewed By: ahornby

Differential Revision: D21094023

fbshipit-source-id: dc597e888eac2098c0e50d06e80ee180b4f3e069
2020-05-06 00:55:07 -07:00

39 lines
1.1 KiB
TOML

[package]
name = "blobstore"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs", "test/**/*.rs"]
[lib]
path = "src/lib.rs"
[[test]]
name = "blobstore_test"
path = "test/main.rs"
[dependencies]
context = { path = "../server/context" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
abomonation = "0.7"
abomonation_derive = "0.5"
anyhow = "1.0"
auto_impl = { git = "https://github.com/auto-impl-rs/auto_impl", rev = "43ad0ed49f67168b2971b271481e75afac589b24" }
bytes = { version = "0.5", features = ["serde"] }
futures = "0.1"
thiserror = "1.0"
[dev-dependencies]
fileblob = { path = "fileblob" }
memblob = { path = "memblob" }
mononoke_types = { path = "../mononoke_types" }
redactedblobstore = { path = "redactedblobstore" }
lazy_static = "1.0"
rand = { version = "0.7", features = ["small_rng"] }
tempdir = "0.3"
tokio = "0.1"
tokio-compat = "0.1"