koushiro commented on issue #7242:
URL: https://github.com/apache/opendal/issues/7242#issuecomment-4053928922

   The automatic registration logic is currently implemented in the opendal 
crate.
   
   ```rust
   #[cfg(feature = "auto-register-services")]
   #[ctor::ctor]
   fn register_default_operator_registry() {
       init_default_registry();
   }
   ```
   
   For service crates, they only expose methods such as `register_http_service` 
for external use. If you are not directly using the opendal crate but instead 
using opendal-core + opendal-service-http, then you need to explicitly register 
them, just like you did in the test.
   
   


-- 
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