Fix code quality: trailing whitespace, unused imports, clippy warnings

- Fix trailing whitespace in kex.rs and s3.rs
- Add missing KexProposal import in kex_complete.rs
- Auto-fix clippy warnings across all crates
- All 153 tests pass
This commit is contained in:
Warren
2026-06-19 05:21:38 +08:00
parent 4b37e524cf
commit d94cb2df4c
135 changed files with 7256 additions and 4321 deletions
+15 -15
View File
@@ -1,11 +1,14 @@
pub mod audio;
pub mod auth;
pub mod audit;
pub mod cli;
pub mod api;
pub mod archive; // Archive Module - Universal Compression Format Support (Phase 1-3完成)
pub mod audio;
pub mod audit;
pub mod auth;
pub mod category_view;
pub mod cli;
pub mod command;
pub mod config;
pub mod download;
pub mod import_markdown;
pub mod pg_client;
pub mod render;
pub mod rsync;
@@ -14,20 +17,17 @@ pub mod s3_auth;
pub mod s3_config;
pub mod s3_xml;
pub mod scan;
pub mod server;
pub mod archive; // Archive Module - Universal Compression Format Support (Phase 1-3完成)
pub mod category_view;
pub mod import_markdown; // Category View Module - 双视图管理(Phase 1
// pub mod sftp; // ⚠️ russh版本(已禁用
// pub mod ssh2_server; // ssh2服务器(已禁用)
// pub mod ssh2_mod; // ssh2辅助模块(已禁用)
pub mod ssh_server; // SSH服务器(Phase 1-9完成,正在修复编译错误)⭐⭐⭐⭐⭐
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 sync;
pub mod provider; // DataProvider抽象层(Phase 5
pub mod vfs; // VFS抽象层(Phase 1-6重构计划)
pub mod vfs; // VFS抽象层(Phase 1-6重构计划
#[cfg(test)]
mod security_audit; // Security Audit Module - Phase 9
mod security_audit; // Security Audit Module - Phase 9
// Re-export from external filetree crate
pub use filetree::node::FileNode;