pub struct AndroidBuildRequest {Show 13 fields
pub project_dir: Utf8PathBuf,
pub cargo_target_dir: Utf8PathBuf,
pub config: FerryConfig,
pub cargo_package_name: String,
pub cargo_library_target: String,
pub native_library_name: String,
pub profile: AndroidBuildProfile,
pub dex_policy: DexPolicy,
pub bridge_dex_inputs: Vec<Utf8PathBuf>,
pub signing: AndroidSigningConfig,
pub discovery: DiscoveryOptions,
pub dry_run: bool,
pub command_timeout: Duration,
}Expand description
Complete direct Android build request.
Fields§
§project_dir: Utf8PathBufUser project root containing Cargo.toml.
cargo_target_dir: Utf8PathBufCargo target directory; generated output stays below <target>/ferry/.
config: FerryConfigStrict validated RustFerry configuration.
cargo_package_name: StringCargo package selected with --package.
cargo_library_target: StringCargo library target name as reported in JSON messages.
native_library_name: StringAndroid native library name without lib or .so.
profile: AndroidBuildProfileDebug or release Cargo profile.
dex_policy: DexPolicyDEX contract. Slint starters use DexPolicy::Required.
bridge_dex_inputs: Vec<Utf8PathBuf>Extra generated/prebuilt bridge .dex, .jar, .class, or directories.
signing: AndroidSigningConfigDebug or user-provided signing identity.
discovery: DiscoveryOptionsRead-only SDK/NDK discovery overrides.
dry_run: boolReturn an exact plan without creating files or running commands.
command_timeout: DurationDeadline applied to each external tool.
Implementations§
Source§impl AndroidBuildRequest
impl AndroidBuildRequest
Sourcepub fn new(
project_dir: impl Into<Utf8PathBuf>,
config: FerryConfig,
cargo_package_name: impl Into<String>,
cargo_library_target: impl Into<String>,
) -> Self
pub fn new( project_dir: impl Into<Utf8PathBuf>, config: FerryConfig, cargo_package_name: impl Into<String>, cargo_library_target: impl Into<String>, ) -> Self
Create a starter request with a persistent debug signer and required Slint DEX.
Trait Implementations§
Source§impl Clone for AndroidBuildRequest
impl Clone for AndroidBuildRequest
Source§impl Debug for AndroidBuildRequest
impl Debug for AndroidBuildRequest
Source§impl PartialEq for AndroidBuildRequest
impl PartialEq for AndroidBuildRequest
impl StructuralPartialEq for AndroidBuildRequest
Auto Trait Implementations§
impl Freeze for AndroidBuildRequest
impl RefUnwindSafe for AndroidBuildRequest
impl Send for AndroidBuildRequest
impl Sync for AndroidBuildRequest
impl Unpin for AndroidBuildRequest
impl UnsafeUnpin for AndroidBuildRequest
impl UnwindSafe for AndroidBuildRequest
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