swh_provenance/lib.rs
1// Copyright (C) 2024 The Software Heritage developers
2// See the AUTHORS file at the top-level directory of this distribution
3// License: GNU General Public License version 3, or any later version
4// See top-level LICENSE file for more information
5
6#![doc = include_str!("../README.md")]
7
8pub mod database;
9mod graph;
10#[cfg(feature = "grpc-server")]
11pub mod grpc_server;
12pub mod queries;
13pub mod sentry;
14pub mod statsd;
15pub mod test_databases;
16pub mod utils;
17
18pub mod proto {
19 tonic::include_proto!("swh.provenance");
20
21 pub(crate) const FILE_DESCRIPTOR_SET: &[u8] =
22 tonic::include_file_descriptor_set!("swhprovenance_descriptor");
23}