Implement WebDAV VFS integration: dav-server 0.11 compatible
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

- Add webdav.rs module: VfsDavFs, VfsDavFile, VfsDavMetaData
- Implement DavFileSystem + Clone for GuardedFileSystem blanket impl
- Add clone_boxed to VfsBackend trait (required for Sync)
- Update CLI webdav.rs to use VFS instead of SQLite
- Add bytes dependency
- All 155 tests pass
This commit is contained in:
Warren
2026-06-19 08:19:16 +08:00
parent df4f3ea4bd
commit eb80c07c85
8 changed files with 357 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
pub mod api;
pub mod archive; // Archive Module - Universal Compression Format Support (Phase 1-3完成)
pub mod archive;
pub mod audio;
pub mod audit;
pub mod auth;
@@ -10,6 +10,7 @@ pub mod config;
pub mod download;
pub mod import_markdown;
pub mod pg_client;
pub mod provider;
pub mod render;
pub mod rsync;
pub mod s3;
@@ -17,17 +18,14 @@ pub mod s3_auth;
pub mod s3_config;
pub mod s3_xml;
pub mod scan;
pub mod server; // Category View Module - 双视图管理Phase 1
// pub mod sftp; // ⚠️ russh版本已禁用
// pub mod ssh2_server; // ssh2服务器已禁用
// pub mod ssh2_mod; // ssh2辅助模块已禁用
pub mod provider; // DataProvider抽象层Phase 5
pub mod ssh_server; // SSH服务器Phase 1-9完成正在修复编译错误⭐⭐⭐⭐⭐
pub mod server;
pub mod ssh_server;
pub mod sync;
pub mod vfs; // VFS抽象层Phase 1-6重构计划
pub mod vfs;
pub mod webdav;
#[cfg(test)]
mod security_audit; // Security Audit Module - Phase 9
mod security_audit;
// Re-export from external filetree crate
pub use filetree::node::FileNode;