File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,11 @@ unused_async = "warn"
8181all-features = true
8282
8383[features ]
84+ # Register services enabled to the OperatorRegistry so that they can be used by `Operator::from_uri`.
85+ auto-register-services = [" dep:ctor" ]
8486blocking = [" opendal-core/blocking" ]
8587default = [
86- " register-services" ,
88+ " auto- register-services" ,
8789 " reqwest-rustls-tls" ,
8890 " executors-tokio" ,
8991 " layers-concurrent-limit" ,
@@ -118,8 +120,6 @@ layers-tail-cut = ["dep:opendal-layer-tail-cut"]
118120layers-throttle = [" dep:opendal-layer-throttle" ]
119121layers-timeout = [" dep:opendal-layer-timeout" ]
120122layers-tracing = [" dep:opendal-layer-tracing" ]
121- # Register services enabled to the OperatorRegistry so that they can be used by `Operator::from_uri`.
122- register-services = [" dep:ctor" ]
123123reqwest-rustls-tls = [" opendal-core/reqwest-rustls-tls" ]
124124services-aliyun-drive = [" dep:opendal-service-aliyun-drive" ]
125125services-alluxio = [" dep:opendal-service-alluxio" ]
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ fn init_default_registry_inner(registry: &OperatorRegistry) {
230230 opendal_service_redis:: register_redis_service ( registry) ;
231231}
232232
233- #[ cfg( feature = "register-services" ) ]
233+ #[ cfg( feature = "auto- register-services" ) ]
234234#[ ctor:: ctor]
235235fn register_default_operator_registry ( ) {
236236 init_default_registry ( ) ;
You can’t perform that action at this time.
0 commit comments