@@ -78,7 +78,7 @@ pub struct PrebuiltBlob {
78
78
}
79
79
80
80
/// Describes the origin of an externally-built package.
81
- #[ derive( Clone , Deserialize , Debug , PartialEq ) ]
81
+ #[ derive( Clone , Deserialize , Serialize , Debug , PartialEq ) ]
82
82
#[ serde( tag = "type" , rename_all = "lowercase" ) ]
83
83
pub enum PackageSource {
84
84
/// Describes a package which should be assembled locally.
@@ -149,7 +149,7 @@ impl PackageSource {
149
149
}
150
150
151
151
/// Describes the output format of the package.
152
- #[ derive( Deserialize , Debug , Clone , PartialEq ) ]
152
+ #[ derive( Deserialize , Serialize , Debug , Clone , PartialEq ) ]
153
153
#[ serde( tag = "type" , rename_all = "lowercase" ) ]
154
154
pub enum PackageOutput {
155
155
/// A complete zone image, ready to be deployed to the target.
@@ -166,7 +166,7 @@ pub enum PackageOutput {
166
166
}
167
167
168
168
/// A single package.
169
- #[ derive( Clone , Deserialize , Debug , PartialEq ) ]
169
+ #[ derive( Clone , Deserialize , Serialize , Debug , PartialEq ) ]
170
170
pub struct Package {
171
171
/// The name of the service name to be used on the target OS.
172
172
pub service_name : ServiceName ,
@@ -840,7 +840,7 @@ impl Package {
840
840
}
841
841
842
842
/// Describes configuration for a package which contains a Rust binary.
843
- #[ derive( Clone , Deserialize , Debug , PartialEq ) ]
843
+ #[ derive( Clone , Deserialize , Serialize , Debug , PartialEq ) ]
844
844
pub struct RustPackage {
845
845
/// The name of the compiled binary to be used.
846
846
// TODO: Could be extrapolated to "produced build artifacts", we don't
@@ -864,7 +864,7 @@ impl RustPackage {
864
864
}
865
865
866
866
/// A string which can be modified with key-value pairs.
867
- #[ derive( Clone , Deserialize , Debug , PartialEq ) ]
867
+ #[ derive( Clone , Deserialize , Serialize , Debug , PartialEq ) ]
868
868
pub struct InterpolatedString ( String ) ;
869
869
870
870
impl InterpolatedString {
@@ -903,7 +903,7 @@ impl InterpolatedString {
903
903
///
904
904
/// These paths may require target-specific interpretation before being
905
905
/// transformed to an actual [MappedPath].
906
- #[ derive( Clone , Deserialize , Debug , PartialEq ) ]
906
+ #[ derive( Clone , Deserialize , Serialize , Debug , PartialEq ) ]
907
907
pub struct InterpolatedMappedPath {
908
908
/// Source path.
909
909
pub from : InterpolatedString ,
0 commit comments