diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-05-26 10:08:28 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-05-28 14:43:46 +0200 |
commit | 07e16931ea1bc6822464b21420147bd899a09510 (patch) | |
tree | 4d2b2d48006c85d24afb45097abed59760b3fe68 /src | |
parent | 01a2466122a41469c1a79eaaaa29044ce2697c9c (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')
-rw-r--r-- | src/package/package.rs | 10 |
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")] |