Skip to content

Comments

refactor: split swift service into a separate crate#7054

Merged
koushiro merged 4 commits intoapache:mainfrom
Sahil-Shadwal:refactor-core-split-swift
Dec 18, 2025
Merged

refactor: split swift service into a separate crate#7054
koushiro merged 4 commits intoapache:mainfrom
Sahil-Shadwal:refactor-core-split-swift

Conversation

@Sahil-Shadwal
Copy link
Contributor

Which issue does this PR close?

Closes #6925
Tracking #6829

Rationale for this change

This change is part of the core-split effort to split services out of core into their own crates. Segregating services helps improve compilation times and maintainability.

What changes are included in this PR?

  • Created new crate opendal-service-swift in core/services/swift.
  • Moved swift service implementation from core/core/src/services/swift to the new crate.
  • Updated core/Cargo.toml (workspace) to include the new service.
  • Updated core/core/Cargo.toml (opendal-core) to remove the swift module and dependencies.
  • Updated opendal-service-swift/Cargo.toml with necessary dependencies (opendal-core, quick-xml, anyhow, etc.).
  • Fixed imports to use opendal_core internal types where necessary.
  • Verified license headers and compilation.

Are there any user-facing changes?

No. The public API remains compatible via re-exports in the main opendal crate. This is a purely internal refactoring.

AI Usage Statement

This PR was built with the assistance of Google Gemini 3 pro

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" labels Dec 17, 2025
@koushiro
Copy link
Member

Hi @Sahil-Shadwal , you need to update core/src/lib.rs to fix CI

Co-authored-by: Qinxuan Chen <[email protected]>
@koushiro
Copy link
Member

Another question: I know you're using Gemini 3 Pro, but what tool are you using to run it? gemini-cli or something else? Also, are you directly using the prompts in #6829?

@Sahil-Shadwal
Copy link
Contributor Author

Another question: I know you're using Gemini 3 Pro, but what tool are you using to run it? gemini-cli or something else? Also, are you directly using the prompts in #6829?

naah i saw promts later , at first i just checked similar pr and then asked gemini to do similar things

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 18, 2025
@koushiro koushiro changed the title refactored core split swift refactor: split swift service into a separate crate Dec 18, 2025
@koushiro koushiro merged commit e426859 into apache:main Dec 18, 2025
334 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[core split] Service: swift

2 participants