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
3,148 downloads per month
Used in 14 crates
(via yazi-vfs)
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
AsyncReadandAsyncWriteimplementations
Dependencies
~22–52MB
~888K SLoC