#opendal #webdav #data-access #server #back-end #protocols #service

dav-server-opendalfs

Use OpenDAL as a backend to access data in various service with WebDAV protocol

16 unstable releases (3 breaking)

0.3.1 Feb 7, 2025
0.2.3 Dec 23, 2024
0.2.2 Nov 7, 2024
0.0.6 Jul 29, 2024
0.0.1 Mar 2, 2024

#456 in HTTP server

Download history 180/week @ 2024-10-23 20/week @ 2024-10-30 154/week @ 2024-11-06 5/week @ 2024-11-13 7/week @ 2024-11-20 4/week @ 2024-11-27 6/week @ 2024-12-04 7/week @ 2024-12-11 99/week @ 2024-12-18 28/week @ 2024-12-25 108/week @ 2025-01-08 28/week @ 2025-01-15 147/week @ 2025-02-05

200 downloads per month
Used in oay

Apache-2.0

3.5MB
65K SLoC

Apache OpenDAL™ dav-server integration

Build Status Latest Version Crate Downloads chat

dav-server-opendalfs is an dav-server implementation using opendal.

This crate can help you to access ANY storage services with the same webdav API.

Examples

use anyhow::Result;
use dav_server::davpath::DavPath;
use dav_server_opendalfs::OpendalFs;
use opendal::services::Memory;
use opendal::Operator;

#[tokio::test]
async fn test() -> Result<()> {
 let op = Operator::new(Memory::default())?.finish();

 let webdavfs = OpendalFs::new(op);

 let metadata = webdavfs
     .metadata(&DavPath::new("/").unwrap())
     .await
     .unwrap();
 println!("{}", metadata.is_dir());

 Ok(())
}

Branding

The first and most prominent mentions must use the full form: Apache OpenDAL™ of the name for any individual usage (webpage, handout, slides, etc.) Depending on the context and writing style, you should use the full form of the name sufficiently often to ensure that readers clearly understand the association of both the OpenDAL project and the OpenDAL software product to the ASF as the parent organization.

For more details, see the Apache Product Name Usage Guide.

License and Trademarks

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Apache OpenDAL, OpenDAL, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.

Dependencies

~14–27MB
~388K SLoC