| Crates.io | webdav-request |
| lib.rs | webdav-request |
| version | 0.4.0 |
| created_at | 2024-08-04 12:05:03.113021+00 |
| updated_at | 2025-12-03 05:42:34.27135+00 |
| description | a lightweight webdav client library |
| homepage | |
| repository | https://github.com/cradiy/webdav-request.git |
| max_upload_size | |
| id | 1324926 |
| size | 67,484 |
webdav-request a lightweight webdav client library, based on reqwest.
This is a library under development and is not stable.
use webdav_request::DavClient;
const WEBDAV_URL: &str = "https://your.webdav.com";
const USERNAME: &str = "name";
const PASSWORD: &str = "password";
#[tokio::main]
async fn main() -> webdav_request::Result<()> {
let client = DavClient::new(USERNAME, PASSWORD)?;
let mut nodes = client.list(format!("{}/", WEBDAV_URL)).await?;
println!("{:#?}", nodes);
Ok(())
}