Thanks to visit codestin.com
Credit goes to lib.rs

4 stable releases

Uses new Rust 2024

26.5.6 May 5, 2026
26.1.22 Jan 22, 2026
26.1.4 Jan 4, 2026
25.12.29 Dec 29, 2025

#2544 in Filesystem

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

3,148 downloads per month
Used in 14 crates (via yazi-vfs)

MIT license

74KB
2.5K SLoC

yazi-sftp

A fork of russh-sftp used by Yazi, with some changes:

  • Supports paths containing invalid UTF-8
  • Supports retrieving file nlink, username, and group
  • Uses generic return parameters for a more idiomatic API, e.g.:
    let attrs: responses::Attrs = session.send(requests::Stat::new(path)).await?
    
  • Reduced dependencies
  • Performance optimizations:
    • Copy-on-write for all packets to avoid unnecessary memory allocation
    • Packet lengths are precomputed to avoid secondary allocations
    • Avoids cloning buffers in AsyncRead and AsyncWrite implementations

Dependencies

~22–52MB
~888K SLoC