Struct maturin::WheelWriter [−][src]
pub struct WheelWriter { /* fields omitted */ }
Expand description
A glorified zip builder, mostly useful for writing the record file of a wheel
Implementations
pub fn new(
tag: &str,
wheel_dir: &Path,
metadata21: &Metadata21,
tags: &[String]
) -> Result<WheelWriter>
pub fn new(
tag: &str,
wheel_dir: &Path,
metadata21: &Metadata21,
tags: &[String]
) -> Result<WheelWriter>
Create a new wheel file which can be subsequently expanded
Adds the .dist-info directory and the METADATA file in it
pub fn add_pth(
&mut self,
project_layout: &ProjectLayout,
metadata21: &Metadata21
) -> Result<()>
pub fn add_pth(
&mut self,
project_layout: &ProjectLayout,
metadata21: &Metadata21
) -> Result<()>
Add a pth file to wheel root for editable installs
Trait Implementations
Adds a directory relative to the module base path
Adds a file with bytes as content in target relative to the module base path while setting the given unix permissions Read more
Adds a file with bytes as content in target relative to the module base path
Copies the source file the the target path relative to the module base path
Auto Trait Implementations
impl RefUnwindSafe for WheelWriter
impl Send for WheelWriter
impl Sync for WheelWriter
impl Unpin for WheelWriter
impl UnwindSafe for WheelWriter
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more