├── .github └── workflows │ ├── gh-pages.yml │ └── test.yml ├── .gitignore ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── SwiftRustIntegrationTestRunner ├── Generated │ └── .gitignore ├── Headers │ └── BridgingHeader.h ├── SwiftRustIntegrationTestRunner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── SwiftRustIntegrationTestRunner.xcscheme ├── SwiftRustIntegrationTestRunner │ ├── ASwiftStack.swift │ ├── Assets.xcassets │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── AsyncSwiftFunctions.swift │ ├── Callbacks.swift │ ├── ContentView.swift │ ├── FunctionAttributes.swift │ ├── Option.swift │ ├── Pointer.swift │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── Primitive.swift │ ├── Result.swift │ ├── RustFnUsesOpaqueSwiftType.swift │ ├── SendableAttribute.swift │ ├── SharedEnumAttributes.swift │ ├── SharedStruct.swift │ ├── SharedStructAttributes.swift │ ├── String.swift │ ├── SwiftFnUsesOpaqueRustType.swift │ ├── SwiftFnUsesOpaqueSwiftType.swift │ ├── SwiftRustIntegrationTestRunner.entitlements │ ├── SwiftRustIntegrationTestRunnerApp.swift │ ├── Tuple.swift │ └── Vec.swift ├── SwiftRustIntegrationTestRunnerSwiftRustIntegrationTestRunner.swift ├── SwiftRustIntegrationTestRunnerTests │ ├── AlreadyDeclaredAttributeTests.swift │ ├── ArgumentAttributesTest.swift │ ├── AsyncTests.swift │ ├── CallbackTests.swift │ ├── ConditionalCompilationTests.swift │ ├── FunctionAttributeGetTests.swift │ ├── FunctionAttributeIdentifiableTests.swift │ ├── FunctionAttributeTests.swift │ ├── GenericTests.rs.swift │ ├── OpaqueRustStructTests.swift │ ├── OpaqueSwiftStructTests.swift │ ├── OptionTests.swift │ ├── PointerTests.swift │ ├── PrimitiveTests.swift │ ├── ResultTests.swift │ ├── RustFnUsesOpaqueSwiftTypeTests.swift │ ├── SendableTests.swift │ ├── SharedEnumAttributeTests.swift │ ├── SharedEnumTests.swift │ ├── SharedStructAttributeTests.swift │ ├── SharedStructTests.swift │ ├── SingleRepresentationTypeElisionTests.swift │ ├── StringTests.swift │ ├── SwiftFnUsesOpaqueRustTypeTests.swift │ ├── SwiftFnUsesOpaqueSwiftTypeTests.swift │ ├── TupleTests.swift │ └── VecTests.swift ├── build-rust.sh ├── integration-test-create-swift-package │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── swift-package-rust-library-fixture │ ├── .gitignore │ ├── Cargo.toml │ ├── build.rs │ ├── build.sh │ └── src │ │ └── lib.rs └── swift-package-test-package │ ├── .gitignore │ ├── Package.swift │ ├── Sources │ └── swift-package-test-package │ │ └── swift_package_test_package.swift │ └── Tests │ └── swift-package-test-packageTests │ └── swift_package_test_packageTests.swift ├── book ├── .gitignore ├── README.md ├── book.toml └── src │ ├── README.md │ ├── SUMMARY.md │ ├── bridge-module │ ├── README.md │ ├── conditional-compilation │ │ └── README.md │ ├── extern-swift │ │ └── README.md │ ├── functions │ │ └── README.md │ ├── generics │ │ └── README.md │ ├── opaque-types │ │ └── README.md │ ├── transparent-types │ │ ├── README.md │ │ ├── enums │ │ │ └── README.md │ │ └── structs │ │ │ └── README.md │ └── why-a-bridge-module │ │ └── README.md │ ├── building │ ├── README.md │ ├── swift-packages │ │ └── README.md │ ├── swiftc-and-cargo │ │ └── README.md │ └── xcode-and-cargo │ │ ├── README.md │ │ └── screenshots │ │ ├── simulator-hello-world.png │ │ ├── simulator-rust-analyzer-app.png │ │ ├── xcode-add-files-to-ios-rust-analyzer.png │ │ ├── xcode-build-phase-collapsed.png │ │ ├── xcode-build-phase-expanded.png │ │ ├── xcode-compile-sources.png │ │ ├── xcode-create-run-script.png │ │ ├── xcode-frameworks-libraries-section.png │ │ ├── xcode-libraries-add-other.png │ │ ├── xcode-link-binary-build-phase.png │ │ ├── xcode-name-ios-project.png │ │ ├── xcode-new-header-file.png │ │ ├── xcode-new-project-ios-app.png │ │ ├── xcode-select-generated-files.png │ │ ├── xcode-set-bridging-header.png │ │ └── xcode-set-library-search-paths.png │ ├── built-in │ ├── README.md │ ├── boxed-functions │ │ └── README.md │ ├── option │ │ └── README.md │ ├── result │ │ └── README.md │ ├── str │ │ └── README.md │ ├── string │ │ └── README.md │ ├── tuple │ │ └── README.md │ └── vec │ │ └── README.md │ ├── contributing │ ├── README.md │ ├── adding-compile-time-errors │ │ └── README.md │ ├── adding-support-for-a-signature │ │ └── README.md │ ├── internal-design │ │ ├── README.md │ │ └── codegen │ │ │ └── README.md │ └── pull-requests │ │ └── README.md │ └── safety │ └── README.md ├── crates ├── swift-bridge-build │ ├── Cargo.toml │ └── src │ │ ├── generate_core.rs │ │ ├── generate_core │ │ ├── boxed_fn_support.rs │ │ ├── option_support.rs │ │ ├── result_support.rs │ │ ├── rust_string.c.h │ │ ├── rust_string.swift │ │ ├── rust_vec.swift │ │ └── string.swift │ │ ├── lib.rs │ │ └── package.rs ├── swift-bridge-cli │ ├── Cargo.toml │ └── src │ │ ├── clap_app.rs │ │ ├── clap_exec.rs │ │ ├── lib.rs │ │ └── main.rs ├── swift-bridge-ir │ ├── Cargo.toml │ └── src │ │ ├── bridge_macro_attributes.rs │ │ ├── bridge_module_attributes.rs │ │ ├── bridged_type.rs │ │ ├── bridged_type │ │ ├── boxed_fn.rs │ │ ├── bridgeable_pointer.rs │ │ ├── bridgeable_result.rs │ │ ├── bridgeable_str.rs │ │ ├── bridgeable_string.rs │ │ ├── bridged_opaque_type.rs │ │ ├── bridged_option.rs │ │ ├── built_in_primitive.rs │ │ ├── built_in_tuple.rs │ │ ├── shared_enum.rs │ │ ├── shared_enum │ │ │ └── enum_variant.rs │ │ ├── shared_struct.rs │ │ └── shared_struct │ │ │ ├── struct_field.rs │ │ │ └── struct_field │ │ │ └── normalized_field.rs │ │ ├── codegen.rs │ │ ├── codegen │ │ ├── codegen_tests.rs │ │ ├── codegen_tests │ │ │ ├── already_declared_attribute.rs │ │ │ ├── argument_label.rs │ │ │ ├── async_function.rs │ │ │ ├── boxed_fnonce.rs │ │ │ ├── built_in_tuple.rs │ │ │ ├── c_header_declaration_order.rs │ │ │ ├── conditional_compilation.rs │ │ │ ├── derive_copy_clone.rs │ │ │ ├── derive_debug.rs │ │ │ ├── extern_rust_function_opaque_rust_type_argument.rs │ │ │ ├── extern_rust_function_opaque_rust_type_return.rs │ │ │ ├── extern_rust_method_swift_class_placement.rs │ │ │ ├── function_attribute.rs │ │ │ ├── generic_opaque_rust_type.rs │ │ │ ├── opaque_rust_type.rs │ │ │ ├── opaque_swift_type.rs │ │ │ ├── option.rs │ │ │ ├── result.rs │ │ │ ├── return_into_attribute.rs │ │ │ ├── sendable_attribute.rs │ │ │ ├── single_representation_type_elision.rs │ │ │ ├── string.rs │ │ │ ├── transparent_enum.rs │ │ │ ├── transparent_struct.rs │ │ │ └── vec.rs │ │ ├── generate_c_header.rs │ │ ├── generate_rust_tokens.rs │ │ ├── generate_rust_tokens │ │ │ ├── shared_enum.rs │ │ │ ├── shared_struct.rs │ │ │ ├── vec.rs │ │ │ └── vec │ │ │ │ ├── vec_of_opaque_rust_type.rs │ │ │ │ └── vec_of_transparent_enum.rs │ │ ├── generate_swift.rs │ │ └── generate_swift │ │ │ ├── generate_function_swift_calls_rust.rs │ │ │ ├── opaque_copy_type.rs │ │ │ ├── shared_enum.rs │ │ │ ├── shared_struct.rs │ │ │ ├── swift_class.rs │ │ │ └── vec.rs │ │ ├── errors.rs │ │ ├── errors │ │ └── parse_error.rs │ │ ├── lib.rs │ │ ├── parse.rs │ │ ├── parse │ │ ├── parse_enum.rs │ │ ├── parse_enum │ │ │ └── enum_attributes.rs │ │ ├── parse_extern_mod.rs │ │ ├── parse_extern_mod │ │ │ ├── argument_attributes.rs │ │ │ ├── function_attributes.rs │ │ │ ├── generics.rs │ │ │ ├── generics │ │ │ │ └── generic_opaque_type.rs │ │ │ └── opaque_type_attributes.rs │ │ ├── parse_struct.rs │ │ ├── type_declarations.rs │ │ └── type_declarations │ │ │ └── generics.rs │ │ ├── parsed_extern_fn.rs │ │ ├── parsed_extern_fn │ │ ├── to_extern_c_fn.rs │ │ ├── to_extern_c_param_names_and_types.rs │ │ ├── to_rust_impl_call_swift.rs │ │ └── to_swift_func.rs │ │ └── test_utils.rs ├── swift-bridge-macro │ ├── Cargo.toml │ ├── src │ │ └── lib.rs │ └── tests │ │ └── ui │ │ ├── args-into-argument-not-found.rs │ │ ├── args-into-argument-not-found.stderr │ │ ├── incorrect-argument-type.rs │ │ ├── incorrect-argument-type.stderr │ │ ├── incorrect-return-type.rs │ │ ├── incorrect-return-type.stderr │ │ ├── invalid-associated-to-attribute.rs │ │ ├── invalid-associated-to-attribute.stderr │ │ ├── invalid-copy-attribute.rs │ │ ├── invalid-copy-attribute.stderr │ │ ├── invalid-module-item.rs │ │ ├── invalid-module-item.stderr │ │ ├── opaque-copy-type-mut-ref.rs │ │ ├── opaque-copy-type-mut-ref.stderr │ │ ├── unrecognized-argument-attribute.rs │ │ ├── unrecognized-argument-attribute.stderr │ │ ├── unrecognized-enum-attribute.rs │ │ ├── unrecognized-enum-attribute.stderr │ │ ├── unrecognized-function-attribute.rs │ │ ├── unrecognized-function-attribute.stderr │ │ ├── unrecognized-opaque-type-attribute.rs │ │ └── unrecognized-opaque-type-attribute.stderr └── swift-integration-tests │ ├── Cargo.toml │ ├── build.rs │ └── src │ ├── argument_attributes.rs │ ├── argument_attributes │ └── argument_label.rs │ ├── async_function.rs │ ├── boxed_functions.rs │ ├── conditional_compilation.rs │ ├── enum_attributes.rs │ ├── enum_attributes │ ├── already_declared.rs │ ├── derive.rs │ └── swift_name.rs │ ├── expose_opaque_rust_type.rs │ ├── function_attributes.rs │ ├── function_attributes │ ├── args_into.rs │ ├── get.rs │ ├── get_with.rs │ ├── identifiable.rs │ ├── return_into.rs │ ├── return_with.rs │ ├── rust_name.rs │ └── swift_name.rs │ ├── futures_experiment.rs │ ├── generics.rs │ ├── import_opaque_swift_class.rs │ ├── lib.rs │ ├── opaque_type_attributes.rs │ ├── opaque_type_attributes │ ├── already_declared.rs │ ├── copy.rs │ ├── equatable.rs │ └── hashable.rs │ ├── option.rs │ ├── pointer.rs │ ├── primitive.rs │ ├── result.rs │ ├── rust_function_uses_opaque_swift_type.rs │ ├── sendable_attribute.rs │ ├── shared_types.rs │ ├── shared_types │ ├── shared_enum.rs │ └── shared_struct.rs │ ├── single_representation_type_elision.rs │ ├── slice.rs │ ├── string.rs │ ├── struct_attributes.rs │ ├── struct_attributes │ ├── already_declared.rs │ ├── derive.rs │ └── swift_name.rs │ ├── swift_function_uses_opaque_rust_type.rs │ ├── swift_function_uses_opaque_swift_type.rs │ ├── tuple.rs │ └── vec.rs ├── examples ├── README.md ├── async-functions │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── bridging-header.h │ ├── build.rs │ ├── build.sh │ ├── main.swift │ └── src │ │ └── lib.rs ├── codegen-visualizer │ ├── Cargo.toml │ ├── CodegenVisualizer │ │ ├── BridgingHeader.h │ │ ├── CodegenVisualizer.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── swiftpm │ │ │ │ │ └── Package.resolved │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── CodegenVisualizer.xcscheme │ │ ├── CodegenVisualizer │ │ │ ├── Assets.xcassets │ │ │ │ ├── AccentColor.colorset │ │ │ │ │ └── Contents.json │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ └── Contents.json │ │ │ │ └── Contents.json │ │ │ ├── CodegenVisualizerApp.swift │ │ │ ├── ContentView.swift │ │ │ └── Preview Content │ │ │ │ └── Preview Assets.xcassets │ │ │ │ └── Contents.json │ │ ├── Generated │ │ │ └── .gitignore │ │ ├── rust-output-files.xcfilelist │ │ └── xcode-build-rust.sh │ ├── README.md │ ├── build.rs │ ├── codegen-visualizer-screenshot.png │ └── src │ │ └── lib.rs ├── multiple-bridge-modules │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ ├── bridging-header.h │ ├── build.rs │ ├── main.swift │ ├── run.sh │ └── src │ │ ├── bridge.rs │ │ ├── bridge │ │ ├── bank.rs │ │ └── user.rs │ │ └── lib.rs ├── rust-binary-calls-swift-package │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── src │ │ └── main.rs │ └── swift-library │ │ ├── .gitignore │ │ ├── Package.swift │ │ ├── README.md │ │ └── Sources │ │ └── swift-library │ │ ├── bridging-header.h │ │ ├── generated │ │ └── .gitignore │ │ └── swift_library.swift └── without-a-bridge-module │ ├── Cargo.toml │ ├── README.md │ └── src │ └── main.rs ├── src ├── async_support.rs ├── async_swift_support.rs ├── boxed_fn_support.rs ├── copy_support.rs ├── lib.rs ├── std_bridge.rs └── std_bridge │ ├── option.rs │ ├── result.rs │ ├── rust_vec.rs │ └── string.rs ├── test-swift-packages.sh └── test-swift-rust-integration.sh /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/.github/workflows/gh-pages.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | Cargo.lock 3 | .idea 4 | .DS_Store 5 | 6 | 7 | # Xcode 8 | xcuserdata/ 9 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/README.md -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/Generated/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/Headers/BridgingHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/Headers/BridgingHeader.h -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/xcshareddata/xcschemes/SwiftRustIntegrationTestRunner.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.xcodeproj/xcshareddata/xcschemes/SwiftRustIntegrationTestRunner.xcscheme -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/ASwiftStack.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/ASwiftStack.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/AsyncSwiftFunctions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/AsyncSwiftFunctions.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Callbacks.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Callbacks.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/ContentView.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/FunctionAttributes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/FunctionAttributes.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Option.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Option.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Pointer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Pointer.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Primitive.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Primitive.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Result.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Result.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/RustFnUsesOpaqueSwiftType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/RustFnUsesOpaqueSwiftType.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SendableAttribute.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SendableAttribute.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SharedEnumAttributes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SharedEnumAttributes.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SharedStruct.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SharedStruct.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SharedStructAttributes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SharedStructAttributes.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/String.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/String.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftFnUsesOpaqueRustType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftFnUsesOpaqueRustType.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftFnUsesOpaqueSwiftType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftFnUsesOpaqueSwiftType.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner.entitlements -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerApp.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Tuple.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Tuple.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Vec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunner/Vec.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerSwiftRustIntegrationTestRunner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerSwiftRustIntegrationTestRunner.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/AlreadyDeclaredAttributeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/AlreadyDeclaredAttributeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ArgumentAttributesTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ArgumentAttributesTest.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/AsyncTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/AsyncTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/CallbackTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/CallbackTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ConditionalCompilationTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ConditionalCompilationTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/FunctionAttributeGetTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/FunctionAttributeGetTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/FunctionAttributeIdentifiableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/FunctionAttributeIdentifiableTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/FunctionAttributeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/FunctionAttributeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/GenericTests.rs.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/GenericTests.rs.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/OpaqueRustStructTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/OpaqueRustStructTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/OpaqueSwiftStructTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/OpaqueSwiftStructTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/OptionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/OptionTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/PointerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/PointerTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/PrimitiveTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/PrimitiveTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ResultTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/ResultTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/RustFnUsesOpaqueSwiftTypeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/RustFnUsesOpaqueSwiftTypeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SendableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SendableTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedEnumAttributeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedEnumAttributeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedEnumTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedEnumTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedStructAttributeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedStructAttributeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedStructTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SharedStructTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SingleRepresentationTypeElisionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SingleRepresentationTypeElisionTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/StringTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/StringTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SwiftFnUsesOpaqueRustTypeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SwiftFnUsesOpaqueRustTypeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SwiftFnUsesOpaqueSwiftTypeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/SwiftFnUsesOpaqueSwiftTypeTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/TupleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/TupleTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/VecTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/SwiftRustIntegrationTestRunnerTests/VecTests.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/build-rust.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/build-rust.sh -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/integration-test-create-swift-package/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/integration-test-create-swift-package/Cargo.toml -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/integration-test-create-swift-package/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/integration-test-create-swift-package/src/main.rs -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/.gitignore -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/Cargo.toml -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/build.rs -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/build.sh -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-rust-library-fixture/src/lib.rs -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-test-package/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-test-package/.gitignore -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-test-package/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-test-package/Package.swift -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-test-package/Sources/swift-package-test-package/swift_package_test_package.swift: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /SwiftRustIntegrationTestRunner/swift-package-test-package/Tests/swift-package-test-packageTests/swift_package_test_packageTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/SwiftRustIntegrationTestRunner/swift-package-test-package/Tests/swift-package-test-packageTests/swift_package_test_packageTests.swift -------------------------------------------------------------------------------- /book/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /book/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/README.md -------------------------------------------------------------------------------- /book/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/book.toml -------------------------------------------------------------------------------- /book/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/README.md -------------------------------------------------------------------------------- /book/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/SUMMARY.md -------------------------------------------------------------------------------- /book/src/bridge-module/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/conditional-compilation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/conditional-compilation/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/extern-swift/README.md: -------------------------------------------------------------------------------- 1 | # extern "Swift" 2 | 3 | work in progress ... 4 | -------------------------------------------------------------------------------- /book/src/bridge-module/functions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/functions/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/generics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/generics/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/opaque-types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/opaque-types/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/transparent-types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/transparent-types/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/transparent-types/enums/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/transparent-types/enums/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/transparent-types/structs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/transparent-types/structs/README.md -------------------------------------------------------------------------------- /book/src/bridge-module/why-a-bridge-module/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/bridge-module/why-a-bridge-module/README.md -------------------------------------------------------------------------------- /book/src/building/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/README.md -------------------------------------------------------------------------------- /book/src/building/swift-packages/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/swift-packages/README.md -------------------------------------------------------------------------------- /book/src/building/swiftc-and-cargo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/swiftc-and-cargo/README.md -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/README.md -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/simulator-hello-world.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/simulator-hello-world.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/simulator-rust-analyzer-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/simulator-rust-analyzer-app.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-add-files-to-ios-rust-analyzer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-add-files-to-ios-rust-analyzer.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-build-phase-collapsed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-build-phase-collapsed.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-build-phase-expanded.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-build-phase-expanded.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-compile-sources.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-compile-sources.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-create-run-script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-create-run-script.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-frameworks-libraries-section.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-frameworks-libraries-section.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-libraries-add-other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-libraries-add-other.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-link-binary-build-phase.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-link-binary-build-phase.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-name-ios-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-name-ios-project.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-new-header-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-new-header-file.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-new-project-ios-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-new-project-ios-app.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-select-generated-files.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-select-generated-files.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-set-bridging-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-set-bridging-header.png -------------------------------------------------------------------------------- /book/src/building/xcode-and-cargo/screenshots/xcode-set-library-search-paths.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/building/xcode-and-cargo/screenshots/xcode-set-library-search-paths.png -------------------------------------------------------------------------------- /book/src/built-in/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/README.md -------------------------------------------------------------------------------- /book/src/built-in/boxed-functions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/boxed-functions/README.md -------------------------------------------------------------------------------- /book/src/built-in/option/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/option/README.md -------------------------------------------------------------------------------- /book/src/built-in/result/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/result/README.md -------------------------------------------------------------------------------- /book/src/built-in/str/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/str/README.md -------------------------------------------------------------------------------- /book/src/built-in/string/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/string/README.md -------------------------------------------------------------------------------- /book/src/built-in/tuple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/tuple/README.md -------------------------------------------------------------------------------- /book/src/built-in/vec/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/built-in/vec/README.md -------------------------------------------------------------------------------- /book/src/contributing/README.md: -------------------------------------------------------------------------------- 1 | # Contributing to swift-bridge 2 | -------------------------------------------------------------------------------- /book/src/contributing/adding-compile-time-errors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/contributing/adding-compile-time-errors/README.md -------------------------------------------------------------------------------- /book/src/contributing/adding-support-for-a-signature/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/contributing/adding-support-for-a-signature/README.md -------------------------------------------------------------------------------- /book/src/contributing/internal-design/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/contributing/internal-design/README.md -------------------------------------------------------------------------------- /book/src/contributing/internal-design/codegen/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/contributing/internal-design/codegen/README.md -------------------------------------------------------------------------------- /book/src/contributing/pull-requests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/contributing/pull-requests/README.md -------------------------------------------------------------------------------- /book/src/safety/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/book/src/safety/README.md -------------------------------------------------------------------------------- /crates/swift-bridge-build/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/Cargo.toml -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core.rs -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/boxed_fn_support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/boxed_fn_support.rs -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/option_support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/option_support.rs -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/result_support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/result_support.rs -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/rust_string.c.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/rust_string.c.h -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/rust_string.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/rust_string.swift -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/rust_vec.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/rust_vec.swift -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/generate_core/string.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/generate_core/string.swift -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/lib.rs -------------------------------------------------------------------------------- /crates/swift-bridge-build/src/package.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-build/src/package.rs -------------------------------------------------------------------------------- /crates/swift-bridge-cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-cli/Cargo.toml -------------------------------------------------------------------------------- /crates/swift-bridge-cli/src/clap_app.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-cli/src/clap_app.rs -------------------------------------------------------------------------------- /crates/swift-bridge-cli/src/clap_exec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-cli/src/clap_exec.rs -------------------------------------------------------------------------------- /crates/swift-bridge-cli/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-cli/src/lib.rs -------------------------------------------------------------------------------- /crates/swift-bridge-cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-cli/src/main.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/Cargo.toml -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridge_macro_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridge_macro_attributes.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridge_module_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridge_module_attributes.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/boxed_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/boxed_fn.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/bridgeable_pointer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/bridgeable_pointer.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/bridgeable_result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/bridgeable_result.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/bridgeable_str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/bridgeable_str.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/bridgeable_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/bridgeable_string.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/bridged_opaque_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/bridged_opaque_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/bridged_option.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/bridged_option.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/built_in_primitive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/built_in_primitive.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/built_in_tuple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/built_in_tuple.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/shared_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/shared_enum.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/shared_enum/enum_variant.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/shared_enum/enum_variant.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/shared_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/shared_struct.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/shared_struct/struct_field.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/shared_struct/struct_field.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/bridged_type/shared_struct/struct_field/normalized_field.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/bridged_type/shared_struct/struct_field/normalized_field.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/already_declared_attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/already_declared_attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/argument_label.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/argument_label.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/async_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/async_function.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/boxed_fnonce.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/boxed_fnonce.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/built_in_tuple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/built_in_tuple.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/c_header_declaration_order.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/c_header_declaration_order.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/conditional_compilation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/conditional_compilation.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/derive_copy_clone.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/derive_copy_clone.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/derive_debug.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/derive_debug.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/extern_rust_function_opaque_rust_type_argument.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/extern_rust_function_opaque_rust_type_argument.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/extern_rust_function_opaque_rust_type_return.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/extern_rust_function_opaque_rust_type_return.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/extern_rust_method_swift_class_placement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/extern_rust_method_swift_class_placement.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/function_attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/function_attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/generic_opaque_rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/generic_opaque_rust_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/opaque_rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/opaque_rust_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/opaque_swift_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/opaque_swift_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/option.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/option.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/result.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/return_into_attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/return_into_attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/sendable_attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/sendable_attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/single_representation_type_elision.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/single_representation_type_elision.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/string.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/transparent_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/transparent_enum.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/transparent_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/transparent_struct.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/codegen_tests/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/codegen_tests/vec.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_c_header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_c_header.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_rust_tokens.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_rust_tokens.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_rust_tokens/shared_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_rust_tokens/shared_enum.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_rust_tokens/shared_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_rust_tokens/shared_struct.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_rust_tokens/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_rust_tokens/vec.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_rust_tokens/vec/vec_of_opaque_rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_rust_tokens/vec/vec_of_opaque_rust_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_rust_tokens/vec/vec_of_transparent_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_rust_tokens/vec/vec_of_transparent_enum.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift/generate_function_swift_calls_rust.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift/generate_function_swift_calls_rust.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift/opaque_copy_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift/opaque_copy_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift/shared_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift/shared_enum.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift/shared_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift/shared_struct.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift/swift_class.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift/swift_class.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/codegen/generate_swift/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/codegen/generate_swift/vec.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/errors.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/errors/parse_error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/errors/parse_error.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/lib.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_enum.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_enum/enum_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_enum/enum_attributes.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_extern_mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_extern_mod.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_extern_mod/argument_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_extern_mod/argument_attributes.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_extern_mod/function_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_extern_mod/function_attributes.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_extern_mod/generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_extern_mod/generics.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_extern_mod/generics/generic_opaque_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_extern_mod/generics/generic_opaque_type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_extern_mod/opaque_type_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_extern_mod/opaque_type_attributes.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/parse_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/parse_struct.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/type_declarations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/type_declarations.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parse/type_declarations/generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parse/type_declarations/generics.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parsed_extern_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parsed_extern_fn.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parsed_extern_fn/to_extern_c_fn.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parsed_extern_fn/to_extern_c_fn.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parsed_extern_fn/to_extern_c_param_names_and_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parsed_extern_fn/to_extern_c_param_names_and_types.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parsed_extern_fn/to_rust_impl_call_swift.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parsed_extern_fn/to_rust_impl_call_swift.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/parsed_extern_fn/to_swift_func.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/parsed_extern_fn/to_swift_func.rs -------------------------------------------------------------------------------- /crates/swift-bridge-ir/src/test_utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-ir/src/test_utils.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/Cargo.toml -------------------------------------------------------------------------------- /crates/swift-bridge-macro/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/src/lib.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/args-into-argument-not-found.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/args-into-argument-not-found.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/args-into-argument-not-found.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/args-into-argument-not-found.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/incorrect-argument-type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/incorrect-argument-type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/incorrect-argument-type.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/incorrect-argument-type.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/incorrect-return-type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/incorrect-return-type.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/incorrect-return-type.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/incorrect-return-type.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/invalid-associated-to-attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/invalid-associated-to-attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/invalid-associated-to-attribute.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/invalid-associated-to-attribute.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/invalid-copy-attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/invalid-copy-attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/invalid-copy-attribute.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/invalid-copy-attribute.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/invalid-module-item.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/invalid-module-item.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/invalid-module-item.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/invalid-module-item.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/opaque-copy-type-mut-ref.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/opaque-copy-type-mut-ref.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/opaque-copy-type-mut-ref.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/opaque-copy-type-mut-ref.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-argument-attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-argument-attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-argument-attribute.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-argument-attribute.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-enum-attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-enum-attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-enum-attribute.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-enum-attribute.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-function-attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-function-attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-function-attribute.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-function-attribute.stderr -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-opaque-type-attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-opaque-type-attribute.rs -------------------------------------------------------------------------------- /crates/swift-bridge-macro/tests/ui/unrecognized-opaque-type-attribute.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-bridge-macro/tests/ui/unrecognized-opaque-type-attribute.stderr -------------------------------------------------------------------------------- /crates/swift-integration-tests/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/Cargo.toml -------------------------------------------------------------------------------- /crates/swift-integration-tests/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/build.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/argument_attributes.rs: -------------------------------------------------------------------------------- 1 | mod argument_label; 2 | -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/argument_attributes/argument_label.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/argument_attributes/argument_label.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/async_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/async_function.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/boxed_functions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/boxed_functions.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/conditional_compilation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/conditional_compilation.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/enum_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/enum_attributes.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/enum_attributes/already_declared.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/enum_attributes/already_declared.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/enum_attributes/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/enum_attributes/derive.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/enum_attributes/swift_name.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/enum_attributes/swift_name.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/expose_opaque_rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/expose_opaque_rust_type.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/args_into.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/args_into.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/get.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/get.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/get_with.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/get_with.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/identifiable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/identifiable.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/return_into.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/return_into.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/return_with.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/return_with.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/rust_name.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/rust_name.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/function_attributes/swift_name.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/function_attributes/swift_name.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/futures_experiment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/futures_experiment.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/generics.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/import_opaque_swift_class.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/import_opaque_swift_class.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/lib.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/opaque_type_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/opaque_type_attributes.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/opaque_type_attributes/already_declared.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/opaque_type_attributes/already_declared.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/opaque_type_attributes/copy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/opaque_type_attributes/copy.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/opaque_type_attributes/equatable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/opaque_type_attributes/equatable.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/opaque_type_attributes/hashable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/opaque_type_attributes/hashable.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/option.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/option.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/pointer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/pointer.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/primitive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/primitive.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/result.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/rust_function_uses_opaque_swift_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/rust_function_uses_opaque_swift_type.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/sendable_attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/sendable_attribute.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/shared_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/shared_types.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/shared_types/shared_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/shared_types/shared_enum.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/shared_types/shared_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/shared_types/shared_struct.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/single_representation_type_elision.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/single_representation_type_elision.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/slice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/slice.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/string.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/struct_attributes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/struct_attributes.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/struct_attributes/already_declared.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/struct_attributes/already_declared.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/struct_attributes/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/struct_attributes/derive.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/struct_attributes/swift_name.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/struct_attributes/swift_name.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/swift_function_uses_opaque_rust_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/swift_function_uses_opaque_rust_type.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/swift_function_uses_opaque_swift_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/swift_function_uses_opaque_swift_type.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/tuple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/tuple.rs -------------------------------------------------------------------------------- /crates/swift-integration-tests/src/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/crates/swift-integration-tests/src/vec.rs -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/async-functions/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/.gitignore -------------------------------------------------------------------------------- /examples/async-functions/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/Cargo.toml -------------------------------------------------------------------------------- /examples/async-functions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/README.md -------------------------------------------------------------------------------- /examples/async-functions/bridging-header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/bridging-header.h -------------------------------------------------------------------------------- /examples/async-functions/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/build.rs -------------------------------------------------------------------------------- /examples/async-functions/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/build.sh -------------------------------------------------------------------------------- /examples/async-functions/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/main.swift -------------------------------------------------------------------------------- /examples/async-functions/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/async-functions/src/lib.rs -------------------------------------------------------------------------------- /examples/codegen-visualizer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/Cargo.toml -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/BridgingHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/BridgingHeader.h -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/xcshareddata/xcschemes/CodegenVisualizer.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer.xcodeproj/xcshareddata/xcschemes/CodegenVisualizer.xcscheme -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/CodegenVisualizerApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/CodegenVisualizerApp.swift -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/ContentView.swift -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/CodegenVisualizer/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/Generated/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/rust-output-files.xcfilelist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/rust-output-files.xcfilelist -------------------------------------------------------------------------------- /examples/codegen-visualizer/CodegenVisualizer/xcode-build-rust.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/CodegenVisualizer/xcode-build-rust.sh -------------------------------------------------------------------------------- /examples/codegen-visualizer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/README.md -------------------------------------------------------------------------------- /examples/codegen-visualizer/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/build.rs -------------------------------------------------------------------------------- /examples/codegen-visualizer/codegen-visualizer-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/codegen-visualizer-screenshot.png -------------------------------------------------------------------------------- /examples/codegen-visualizer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/codegen-visualizer/src/lib.rs -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/.gitignore: -------------------------------------------------------------------------------- 1 | main 2 | generated 3 | -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/Cargo.toml -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/README.md -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/bridging-header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/bridging-header.h -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/build.rs -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/main.swift -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/run.sh -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/src/bridge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/src/bridge.rs -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/src/bridge/bank.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/src/bridge/bank.rs -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/src/bridge/user.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/multiple-bridge-modules/src/bridge/user.rs -------------------------------------------------------------------------------- /examples/multiple-bridge-modules/src/lib.rs: -------------------------------------------------------------------------------- 1 | mod bridge; 2 | -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/Cargo.toml -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/README.md -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/build.rs -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/src/main.rs -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/swift-library/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/swift-library/.gitignore -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/swift-library/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/swift-library/Package.swift -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/swift-library/README.md: -------------------------------------------------------------------------------- 1 | # swift-library 2 | 3 | A description of this package. 4 | -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/swift-library/Sources/swift-library/bridging-header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/swift-library/Sources/swift-library/bridging-header.h -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/swift-library/Sources/swift-library/generated/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /examples/rust-binary-calls-swift-package/swift-library/Sources/swift-library/swift_library.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/rust-binary-calls-swift-package/swift-library/Sources/swift-library/swift_library.swift -------------------------------------------------------------------------------- /examples/without-a-bridge-module/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/without-a-bridge-module/Cargo.toml -------------------------------------------------------------------------------- /examples/without-a-bridge-module/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/without-a-bridge-module/README.md -------------------------------------------------------------------------------- /examples/without-a-bridge-module/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/examples/without-a-bridge-module/src/main.rs -------------------------------------------------------------------------------- /src/async_support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/async_support.rs -------------------------------------------------------------------------------- /src/async_swift_support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/async_swift_support.rs -------------------------------------------------------------------------------- /src/boxed_fn_support.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/boxed_fn_support.rs -------------------------------------------------------------------------------- /src/copy_support.rs: -------------------------------------------------------------------------------- 1 | pub fn assert_copy() {} 2 | -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/std_bridge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/std_bridge.rs -------------------------------------------------------------------------------- /src/std_bridge/option.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/std_bridge/option.rs -------------------------------------------------------------------------------- /src/std_bridge/result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/std_bridge/result.rs -------------------------------------------------------------------------------- /src/std_bridge/rust_vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/std_bridge/rust_vec.rs -------------------------------------------------------------------------------- /src/std_bridge/string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/src/std_bridge/string.rs -------------------------------------------------------------------------------- /test-swift-packages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/test-swift-packages.sh -------------------------------------------------------------------------------- /test-swift-rust-integration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chinedufn/swift-bridge/HEAD/test-swift-rust-integration.sh --------------------------------------------------------------------------------