codxbrexx opened a new pull request, #7037:
URL: https://github.com/apache/opendal/pull/7037

   # Which issue does this PR close?
   
   Closes #6898.
   
   # Rationale for this change
   
   This PR extracts the `gridfs` service from `opendal-core` into its own crate 
`opendal-service-gridfs` as part of the core-split effort (RFC-6828). This 
helps separate service-specific dependencies (like `mongodb` which is heavy) 
from the core logic, improving maintainability and compilation speed for users 
who don't need this service.
   
   # What changes are included in this PR?
   
   - Created a new crate `core/services/gridfs`.
   - Moved implementation files 
([backend.rs](cci:7://file:///home/codxbrexx/OpenSource/opendal/core/services/gridfs/src/backend.rs:0:0-0:0),
 
[core.rs](cci:7://file:///home/codxbrexx/OpenSource/opendal/core/services/gridfs/src/core.rs:0:0-0:0),
 
[writer.rs](cci:7://file:///home/codxbrexx/OpenSource/opendal/core/services/gridfs/src/writer.rs:0:0-0:0),
 etc.) from `core/core/src/services/gridfs` to the new crate.
   - Removed `gridfs` logic and dependencies from `opendal-core`.
   - Updated feature flags: `services-gridfs` in `opendal` now points to 
`opendal-service-gridfs`.
   - Updated `lib.rs` in the facade to re-export `GridFs`.
   
   # Are there any user-facing changes?
   
   No. The public API `opendal::services::GridFs` remains unchanged. Users can 
continue to use the service exactly as before, provided they have the 
`services-gridfs` feature enabled.
   
   # AI Usage Statement
   
   AI tools were used only for understanding existing code and project 
documentation. 
   All code changes were written and reviewed manually.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to