Dependencies
= { = "<version>" }
Configuration items
[]
= "fs" # service that OpenDAL supports
= { = "/tmp" } # service options. Different options for different scheme
= [] # Layer is the mechanism to intercept operations.
For Layer configuration, see this document
Components
After configuring the above configuration items, the plugin will automatically register a Op client. This object is an alias of opendal::Operator.
pub type Op = Operator;
For the complete code, please refer to spring-opendal-example