sapling/eden/mononoke/git
Kostia Balytskyi 82ffc5b731 blobstore: export impl_loadable_storable macro
Summary:
This will help people to introduce new blobstore objects in their code (for
instance I intend to use it in the following diff).

The `private` module exists to allow the use of the exported macro without the
need to write a bunch of `use` statements, and without pollution the re-export
namespace. The idea is that everything needed by the exported macro exists in
the `private` module of the crate, and this module is public.
So long as some other crate imports the macro, it expands to
`$crate::private::NEEDED_THING` in the right places and no further `use`
statements of dependencies are needed. At the same time, the name `private`
should discourage people from using whatever is in this module directly. The
idea is taken from `anyhow`.

Reviewed By: StanislavGlebik

Differential Revision: D27997228

fbshipit-source-id: fd2c421d0daf0fe88e2b9001bb4088fe7b4d59b7
2021-04-26 06:37:22 -07:00
..
git_types blobstore: export impl_loadable_storable macro 2021-04-26 06:37:22 -07:00
git-pool rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
gitimport rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00
import_tools rust: update to zstd to 0.7.0+zstd.1.4.9 2021-04-22 14:34:06 -07:00