spring-opendal 0.4.1

OpenDAL plugin for spring-rs
Documentation

crates.io Documentation

Dependencies

spring-opendal = { version = "<version>" }

Configuration items

[opendal]
scheme = "fs"                # service that OpenDAL supports
options = { root = "/tmp" }  # service options. Different options for different scheme
layers = []                  # 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