Skip to main content

Crate rustferry_core

Crate rustferry_core 

Source
Expand description

Shared configuration, validation, paths, and diagnostics for cargo-ferry.

Modules§

brand
Product names live here so a future rename does not leak across generators.
windows_private_directory
Atomic private-directory creation and handle validation on Windows. Atomic private filesystem-object creation and handle validation on Windows.

Structs§

AndroidConfig
Android build settings.
AppConfig
Application identity and window defaults.
AppWindowConfig
Initial application window preferences.
ArtifactDigest
Deterministic SHA-256 identity of one artifact file or directory tree.
BoolCapability
Capability represented by a single enable flag.
CapabilitiesConfig
Runtime capability configuration.
DeepLinksCapability
Deep-link configuration and input allowlists.
DirectoryFilesystemIdentity
Opaque, versioned identity of one directory filesystem object.
DirectoryIdentityError
Sanitized failure from filesystem identity capture, parsing, or verification.
ExtensionsConfig
Platform extension targets.
FerryConfig
Complete, versioned ferry.toml document.
IosConfig
Apple platform build settings.
LiveActivityConfig
Live Activity extension configuration.
NetworkCapability
Network status and probe configuration.
NotificationCapability
Notification capability configuration.
PermissionConfig
One optional permission and its operating-system prompt text.
PermissionsConfig
Permission declarations that generate platform manifests and purpose strings.
PngMetadata
Metadata read from a validated PNG without trusting filename extensions.
ProjectAssets
Validated project icon and splash image bytes.
ProjectNames
Validated names derived from the value passed to cargo ferry new.
RegularFileFilesystemIdentity
Opaque, versioned identity of one single-link regular file.
RegularFileStreamError
Secret-free retained-handle stream inspection error.
RetainedDirectoryIdentity
Retained, policy-neutral handle and identity for one exact directory.
RetainedRegularFileIdentity
Retained identity guard for one exact single-link regular file.
ValidationIssue
One actionable configuration validation problem.
WidgetConfig
Widget extension configuration.

Enums§

AndroidAbi
Supported Android ABI.
AndroidLiveActivityFallback
Android presentation used when iOS Live Activities are enabled.
ArtifactDigestError
Failure while producing a deterministic artifact digest.
ArtifactDigestKind
Artifact family included in the integrity-digest domain.
AssetError
Project asset loading or validation failure.
ConfigError
Configuration loading, parsing, validation, or serialization failure.
DirectoryIdentityErrorKind
Stable reason a filesystem identity operation was rejected.
DirectoryIdentityOperation
Filesystem operation that failed while capturing an object identity.
NamingError
Project or application identifier validation failure.
NetworkMode
Application network policy.
Orientation
Supported screen orientation policy.
RegularFileStreamErrorKind
Stable class of a retained regular-file stream inspection failure.
TargetPlatform
Mobile platform generated for an application.
Theme
Application color theme preference.

Constants§

CONFIG_SCHEMA_VERSION
Current stable ferry.toml schema version.

Functions§

derive_project_names
Validate and derive all project names without touching the filesystem.
digest_artifact
Hash a complete APK or Apple application tree with stable path ordering and framing.
directory_identity_from_file
Capture a directory identity from an already-retained file object.
regular_file_identity_from_file
Capture a single-link regular-file identity from an already-retained file object.
validate_application_identifier
Validate the conservative intersection of Android application IDs and Apple bundle IDs.
verify_directory_identity
Reopen an absolute path without following its final component and require exact identity.
verify_regular_file_has_no_named_streams
Verify that a retained regular-file handle exposes only its unnamed default data stream.
verify_regular_file_identity
Reopen an absolute path without following its final component and require exact file identity.