Skip to main content

bootstrap/core/config/toml/
dist.rs

1//! This module defines the `Dist` struct, which represents the `[dist]` table
2//! in the `bootstrap.toml` configuration file.
3//!
4//! The `[dist]` table contains options related to the distribution process,
5//! including signing, uploading artifacts, source tarballs, compression settings,
6//! and inclusion of specific tools.
7
8use crate::core::config::macros::define_config;
9
10define_config! {
11    #[derive(Default)]
12    struct Dist {
13        sign_folder: Option<String> = "sign-folder",
14        upload_addr: Option<String> = "upload-addr",
15        src_tarball: Option<bool> = "src-tarball",
16        compression_formats: Option<Vec<String>> = "compression-formats",
17        compression_profile: Option<String> = "compression-profile",
18        include_mingw_linker: Option<bool> = "include-mingw-linker",
19        vendor: Option<bool> = "vendor",
20    }
21}