Hi everyone,
I recently released virtual-file-transfer v0.1.0, a Rust crate for transferring virtual files through Windows drag-and-drop and the clipboard.
It allows applications to expose data from memory, ZIP archives, generated reports, or other streams as files without first writing them to temporary files.
The crate abstracts the Windows OLE/COM interfaces (IDataObject, IStream, etc.) behind a Rust API.
Features:
Single and multiple virtual files
Streaming and seekable data sources
Relative paths and file name validation
Cooperative cancellation and asynchronous completion reporting
Optional disk-backed spooling
I've tested transfers larger than 4 GiB with Windows Explorer, including data integrity, cancellation, and error propagation.
I realize this is a fairly niche use case, but I hope it can save other developers from having to implement the same Windows OLE/COM machinery themselves.
Links:
GitHub: GitHub - hrtkysd/virtual-file-transfer: Transfer in-memory, generated, and streamed data as files via drag-and-drop or clipboard, without temporary files. · GitHub
crates.io: crates.io: Rust Package Registry
Documentation: virtual_file_transfer - Rust
This is my first release, and I'd appreciate any feedback, particularly on the API design, potential use cases, and compatibility with other Windows applications.
1 post - 1 participant
Read full topic
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Zaxis 0.0.5: immediate-mode GUI on wgpu, embeddable in a host's wgpu pass, with an real overlay layer for other processes | 0 | 10.2 | 11-10-2026 |
| 2 | FerroProve - C-to-Rust lifter emitting #![forbid(unsafe_code)] crates with a differential oracle | 0 | 15.51 | 17-10-2026 |
| 3 | [Project] sol: A self-contained browser kernel written in Rust | 0 | 9.76 | 18-10-2026 |
| 4 | Multi_bimap - many-to-many bimap freely made of two arbitrary maps | 0 | 13.1 | 16-10-2026 |
| 5 | Blog: gRPC-Rust Preview Release | 0 | 9.58 | 28-05-2026 |
| 6 | CircuitCraft: a Rust desktop circuit editor with ngspice simulation | 0 | 6.46 | 18-10-2026 |
| 7 | Offloading Rust To GPUs Proves Capable Of High Performance With Memory Safety | 0 | 6.69 | 17-08-2026 |
| 8 | Qt Bridge for Rust 0.3 Beta: CXX-Qt Compatibility and Soundness | 0 | 13.6 | 23-09-2026 |
| 9 | net/rustconn - 0.20.2 | 0 | 13.19 | 15-08-2026 |
| 10 | Rustls 0.23.46 Released With Four Security Fixes | 0 | 8.4 | 14-10-2026 |