thegraph_headers/
lib.rs

1//! Common HTTP _typed headers_ used across _The Graph_ network services.
2//!
3//! See _hyper_'s [`headers`][1] crate and _axum-extra_'s [`TypedHeader`][2] extractor
4//! documentation for more information on how to use _typed headers_.
5//!
6//! [1]: https://docs.rs/headers/latest/headers/index.html
7//! [2]: https://docs.rs/axum-extra/latest/axum_extra/typed_header/struct.TypedHeader.html
8
9#![cfg_attr(docsrs, feature(doc_cfg))]
10
11pub use headers;
12
13pub mod graph_attestable;
14#[cfg(feature = "attestation")]
15#[cfg_attr(docsrs, doc(cfg(feature = "attestation")))]
16pub mod graph_attestation;
17pub mod graph_indexed;
18mod http_ext;
19
20pub use http_ext::HttpBuilderExt;