summaryrefslogtreecommitdiffstats
path: root/src/package
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-05-26 10:08:28 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-05-28 14:43:46 +0200
commit07e16931ea1bc6822464b21420147bd899a09510 (patch)
tree4d2b2d48006c85d24afb45097abed59760b3fe68 /src/package
parent01a2466122a41469c1a79eaaaa29044ce2697c9c (diff)
Remove feature "PackageFlags"
This patch removes the `PackageFlags` type and the feature from the package definition struct, so a user cannot longer use the package flags. This feature was not used yet in our repository, so it seems that this is nothing that is valuable. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/package')
-rw-r--r--src/package/package.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/package/package.rs b/src/package/package.rs
index b9b2251..5343d21 100644
--- a/src/package/package.rs
+++ b/src/package/package.rs
@@ -52,10 +52,6 @@ pub struct Package {
#[getset(get = "pub")]
#[serde(skip_serializing_if = "Option::is_none")]
- flags: Option<PackageFlags>,
-
- #[getset(get = "pub")]
- #[serde(skip_serializing_if = "Option::is_none")]
allowed_images: Option<Vec<ImageName>>,
#[getset(get = "pub")]
@@ -99,7 +95,6 @@ impl Package {
dependencies,
patches: vec![],
environment: None,
- flags: None,
allowed_images: None,
denied_images: None,
phases: HashMap::new(),
@@ -170,11 +165,6 @@ impl Ord for Package {
impl Eq for Package {}
-#[derive(Clone, Debug, Serialize, Deserialize)]
-pub struct PackageFlags {
- build_parallel: bool,
-}
-
#[derive(Clone, Debug, Serialize, Deserialize, Getters)]
pub struct Dependencies {
#[getset(get = "pub")]