changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / rust/lib/obj/src/config/program.rs

changeset 17: c7165d93a9eb
author: ellis <ellis@rwest.io>
date: Sun, 22 Oct 2023 23:03:15 -0400
permissions: -rw-r--r--
description: add obj and net src
1 //! cfg::config::program
2 //!
3 //! Program configuration primitives
4 use crate::RepoConfig;
5 
6 use serde::{Deserialize, Serialize};
7 use std::collections::HashMap;
8 
9 /// Program configuration type
10 #[derive(Serialize, Deserialize, Debug, Default, PartialEq)]
11 pub struct ProgramConfig {
12  pub name: String,
13  pub path: String,
14  pub repo: Option<RepoConfig>,
15  pub build: Option<String>,
16  pub scripts: HashMap<String, String>,
17 }