This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-swift.git
The following commit(s) were added to refs/heads/main by this push:
new f571879 fix(package): expose ArrowFlight as public product (#145)
f571879 is described below
commit f57187964af9d073b68c2097bf088fa87f2b9509
Author: Demetrius Albuquerque <[email protected]>
AuthorDate: Fri Mar 13 03:57:25 2026 +0100
fix(package): expose ArrowFlight as public product (#145)
## Summary
Expose ArrowFlight as public library product:
- **File**: `Package.swift`
- **Change**: Added `.library(name: "ArrowFlight", targets:
["ArrowFlight"])` to products array
- **Impact**:
- Downstream packages can now `import ArrowFlight` when depending on
arrow-swift
- Resolves issue where ArrowFlight target existed but was not importable
## Testing
- `swift build` succeeds
- Existing unit tests pass
- Verified ArrowFlight module is now resolvable in dependent package
- Validated buffer alignment with IPC round-trip test
## Related Issues
- Closes #115
## Breaking Changes
None.
---
Package.swift | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Package.swift b/Package.swift
index 8ccb88a..a8761ea 100644
--- a/Package.swift
+++ b/Package.swift
@@ -28,7 +28,10 @@ let package = Package(
products: [
.library(
name: "Arrow",
- targets: ["Arrow"])
+ targets: ["Arrow"]),
+ .library(
+ name: "ArrowFlight",
+ targets: ["ArrowFlight"])
],
dependencies: [
.package(url: "https://github.com/google/flatbuffers.git", exact:
"25.2.10"),