pub struct PackConfig {
pub files: Option<Vec<String>>,
pub default_packers: Option<Vec<String>>,
}Expand description
Rust side of configurations in Cargo.toml
Cargo.toml will look like
[package.metadata.pack]
default-packers = ["docker"]
files = ["README.md"]Fields§
§files: Option<Vec<String>>files to pack into other than binaries
default_packers: Option<Vec<String>>reserved for future usage.
Trait Implementations§
Source§impl Debug for PackConfig
impl Debug for PackConfig
Source§impl<'de> Deserialize<'de> for PackConfig
impl<'de> Deserialize<'de> for PackConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PackConfig
impl RefUnwindSafe for PackConfig
impl Send for PackConfig
impl Sync for PackConfig
impl Unpin for PackConfig
impl UnwindSafe for PackConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more