| 1 | |
| 2 | |
| 3 | #![recursion_limit = "256"] |
| 4 | |
| 5 | pub use forge_web_base::{ |
| 6 | accent, accent_palette, blobs, compression, custom_colour, i18n, render, repo_stats, templates, |
| 7 | theme, throttle, |
| 8 | }; |
| 9 | |
| 10 | pub mod access; |
| 11 | pub mod admin_client; |
| 12 | pub mod advisories; |
| 13 | pub mod alerts; |
| 14 | pub mod api; |
| 15 | pub mod audit; |
| 16 | pub mod auth; |
| 17 | pub mod automerge; |
| 18 | pub mod backup; |
| 19 | pub mod ci; |
| 20 | pub mod client_ip; |
| 21 | pub mod exporter; |
| 22 | pub mod git_auth; |
| 23 | pub mod git_http; |
| 24 | pub mod hook_cmd; |
| 25 | pub mod importer; |
| 26 | pub mod internal; |
| 27 | pub mod layers; |
| 28 | pub mod lfs; |
| 29 | pub mod lfs_pointer; |
| 30 | pub mod live; |
| 31 | pub mod mail; |
| 32 | pub mod merge; |
| 33 | pub mod merge_queue; |
| 34 | pub mod mirrors; |
| 35 | pub mod notify; |
| 36 | pub mod notify_hub; |
| 37 | pub mod oci; |
| 38 | pub mod package_ops; |
| 39 | pub mod packages_live; |
| 40 | pub mod post_update; |
| 41 | pub mod prune; |
| 42 | pub mod pulls_sync; |
| 43 | pub mod raw; |
| 44 | pub mod release_ops; |
| 45 | pub mod replication; |
| 46 | pub mod self_update; |
| 47 | pub mod signatures; |
| 48 | pub mod ssh_backend; |
| 49 | pub mod state; |
| 50 | #[cfg(any(test, feature = "test-support"))] |
| 51 | pub mod test_support; |
| 52 | pub mod views; |
| 53 | pub mod web_push; |
| 54 | pub mod webhooks; |
| 55 | |
| 56 | pub mod build_info { |
| 57 | pub const BUILD_SHA: &str = env!("FORGE_BUILD_SHA"); |
| 58 | pub const GIT_SHA: &str = env!("FORGE_GIT_SHA"); |
| 59 | pub const GIT_DATE: &str = env!("FORGE_GIT_DATE"); |
| 60 | pub const GIT_DIRTY: bool = matches!(env!("FORGE_GIT_DIRTY").as_bytes(), b"1"); |
| 61 | pub const MAIN_CSS: &str = include_str!(concat!(env!("OUT_DIR"), "/main.css")); |
| 62 | } |