Struct maturin::pyproject_toml::ToolMaturin
source · pub struct ToolMaturin {Show 23 fields
pub module_name: Option<String>,
pub include: Option<Vec<GlobPattern>>,
pub exclude: Option<Vec<GlobPattern>>,
pub bindings: Option<String>,
pub compatibility: Option<PlatformTag>,
pub skip_auditwheel: bool,
pub strip: bool,
pub sdist_generator: SdistGenerator,
pub python_source: Option<PathBuf>,
pub python_packages: Option<Vec<String>>,
pub data: Option<PathBuf>,
pub targets: Option<Vec<CargoTarget>>,
pub target_config: HashMap<String, TargetConfig>,
pub profile: Option<String>,
pub features: Option<Vec<String>>,
pub all_features: Option<bool>,
pub no_default_features: Option<bool>,
pub manifest_path: Option<PathBuf>,
pub frozen: Option<bool>,
pub locked: Option<bool>,
pub config: Option<Vec<String>>,
pub unstable_flags: Option<Vec<String>>,
pub rustc_args: Option<Vec<String>>,
}
Expand description
The [tool.maturin]
section of a pyproject.toml
Fields§
§module_name: Option<String>
Module name, accepts setuptools style import name like foo.bar
include: Option<Vec<GlobPattern>>
Include files matching the given glob pattern(s)
exclude: Option<Vec<GlobPattern>>
Exclude files matching the given glob pattern(s)
bindings: Option<String>
Bindings type
compatibility: Option<PlatformTag>
Platform compatibility
skip_auditwheel: bool
Skip audit wheel
strip: bool
Strip the final binary
sdist_generator: SdistGenerator
Source distribution generator
python_source: Option<PathBuf>
The directory with python module, contains <module_name>/__init__.py
python_packages: Option<Vec<String>>
Python packages to include
data: Option<PathBuf>
Path to the wheel directory, defaults to <module_name>.data
targets: Option<Vec<CargoTarget>>
Cargo compile targets
target_config: HashMap<String, TargetConfig>
Target configuration
profile: Option<String>
Build artifacts with the specified Cargo profile
features: Option<Vec<String>>
Space or comma separated list of features to activate
all_features: Option<bool>
Activate all available features
no_default_features: Option<bool>
Do not activate the default
feature
manifest_path: Option<PathBuf>
Path to Cargo.toml
frozen: Option<bool>
Require Cargo.lock and cache are up to date
locked: Option<bool>
Require Cargo.lock is up to date
config: Option<Vec<String>>
Override a configuration value (unstable)
unstable_flags: Option<Vec<String>>
Unstable (nightly-only) flags to Cargo, see ‘cargo -Z help’ for details
rustc_args: Option<Vec<String>>
Additional rustc arguments
Trait Implementations§
source§impl Clone for ToolMaturin
impl Clone for ToolMaturin
source§fn clone(&self) -> ToolMaturin
fn clone(&self) -> ToolMaturin
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more