Struct maturin::DevelopOptions
source · pub struct DevelopOptions {
pub bindings: Option<String>,
pub release: bool,
pub strip: bool,
pub extras: Vec<String>,
pub skip_install: bool,
pub pip_path: Option<PathBuf>,
pub cargo_options: CargoOptions,
pub uv: bool,
}
Expand description
Install the crate as module in the current virtualenv
Fields§
§bindings: Option<String>
Which kind of bindings to use
release: bool
Pass –release to cargo
strip: bool
Strip the library for minimum file size
extras: Vec<String>
Install extra requires aka. optional dependencies
Use as --extras=extra1,extra2
skip_install: bool
Skip installation, only build the extension module inplace
Only works with mixed Rust/Python project layout
pip_path: Option<PathBuf>
Use a specific pip installation instead of the default one.
This can be used to supply the path to a pip executable when the current virtualenv does not provide one.
cargo_options: CargoOptions
cargo rustc
options
uv: bool
Use uv
to install packages instead of pip
Trait Implementations§
source§impl Args for DevelopOptions
impl Args for DevelopOptions
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for DevelopOptions
impl CommandFactory for DevelopOptions
source§impl Debug for DevelopOptions
impl Debug for DevelopOptions
source§impl FromArgMatches for DevelopOptions
impl FromArgMatches for DevelopOptions
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Parser for DevelopOptions
impl Parser for DevelopOptions
source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
Auto Trait Implementations§
impl Freeze for DevelopOptions
impl RefUnwindSafe for DevelopOptions
impl Send for DevelopOptions
impl Sync for DevelopOptions
impl Unpin for DevelopOptions
impl UnwindSafe for DevelopOptions
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