This service can be used to:
root: Set the work directory for backendendpoint: Seafile endpoint addressusername Seafile usernamepassword Seafile passwordrepo_name Seafile repo nameYou can refer to [SeafileBuilder]'s docs for more information
use opendal_core::Operator; use opendal_core::Result; use opendal_service_seafile::Seafile; #[tokio::main] async fn main() -> Result<()> { // create backend builder let mut builder = Seafile::default() // set the storage bucket for OpenDAL .root("/") // set the endpoint for OpenDAL .endpoint("http://127.0.0.1:80") // set the username for OpenDAL .username("xxxxxxxxxx") // set the password name for OpenDAL .password("opendal") // set the repo_name for OpenDAL .repo_name("xxxxxxxxxxxxx"); let op: Operator = Operator::new(builder)?.finish(); Ok(()) }