mas_config/
lib.rs

1// Copyright 2024 New Vector Ltd.
2// Copyright 2021-2024 The Matrix.org Foundation C.I.C.
3//
4// SPDX-License-Identifier: AGPL-3.0-only
5// Please see LICENSE in the repository root for full details.
6
7#![deny(missing_docs, rustdoc::missing_crate_level_docs)]
8#![allow(clippy::module_name_repetitions)]
9// derive(JSONSchema) uses &str.to_string()
10#![allow(clippy::str_to_string)]
11
12//! Application configuration logic
13
14#[cfg(all(feature = "docker", feature = "dist"))]
15compile_error!("Only one of the `docker` and `dist` features can be enabled at once");
16
17pub(crate) mod schema;
18mod sections;
19pub(crate) mod util;
20
21pub use self::{
22    sections::*,
23    util::{ConfigurationSection, ConfigurationSectionExt},
24};