nextcloud-dav 0.1.1

WebDAV client foundation for the Nextcloud Rust SDK
Documentation

nextcloud-dav

WebDAV file and directory CRUD operations and PROPFIND XML engine for Nextcloud.

Part of the nextcloud-rust-sdk workspace.

Installation

[dependencies]
nextcloud-dav = "0.1.1"

Features

  • DavClient: File CRUD operations (get, put, mkcol, delete, copy, move_).
  • PropfindBody: Flexible PROPFIND request builder (all(), names(), explicit properties).
  • DavResource: Parsed WebDAV resource metadata (size, content type, ETag, last modified).
  • Streaming XML scanner and response parser without heavy external XML dependencies.

Example

use nextcloud_dav::{DavClient, DavPath, Depth, PropfindBody};

// Lists resources, downloads files, uploads files, and moves/copies files over WebDAV

License

GNU General Public License v3.0 or later (GPL-3.0-or-later).