Struct swift_bridge_build::CreatePackageConfig
source · pub struct CreatePackageConfig {
pub bridge_dir: PathBuf,
pub paths: HashMap<ApplePlatform, PathBuf>,
pub out_dir: PathBuf,
pub package_name: String,
}
Expand description
Config for generating Swift packages
Fields§
§bridge_dir: PathBuf
The directory containing the generated bridges
paths: HashMap<ApplePlatform, PathBuf>
Path per platform. e.g. (ApplePlatform::iOS, "target/aarch64-apple-ios/debug/libmy_rust_lib.a")
out_dir: PathBuf
The directory where the package will be saved
package_name: String
The name for the Swift package