summer-opendal Plugin

OpenDAL offers a unified data access layer, empowering users to seamlessly and efficiently retrieve data from diverse storage services.

OpenDAL

crates.io Documentation

Dependencies

summer-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 example, see summer-opendal/examples/opendal-example. Run from this crate directory:

cargo run --example opendal-example --features services-fs