yazi-sftp

Crates.ioyazi-sftp
lib.rsyazi-sftp
version26.1.22
created_at2025-12-29 01:08:49.551769+00
updated_at2026-01-22 16:08:10.620835+00
descriptionYazi SFTP client
homepagehttps://yazi-rs.github.io
repositoryhttps://github.com/sxyazi/yazi
max_upload_size
id2009702
size144,521
三咲雅 misaki masa (sxyazi)

documentation

README

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
Commit count: 1312

cargo fmt