Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Announcing virtual-file-transfer 0.1.0: Windows virtual-file drag-and-drop and clipboard support

Дата публикации: 16-10-2026 09:10:30


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

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Zaxis 0.0.5: immediate-mode GUI on wgpu, embeddable in a host's wgpu pass, with an real overlay layer for other processes010.211-10-2026
2FerroProve - C-to-Rust lifter emitting #![forbid(unsafe_code)] crates with a differential oracle015.5117-10-2026
3[Project] sol: A self-contained browser kernel written in Rust09.7618-10-2026
4Multi_bimap - many-to-many bimap freely made of two arbitrary maps013.116-10-2026
5Blog: gRPC-Rust Preview Release09.5828-05-2026
6CircuitCraft: a Rust desktop circuit editor with ngspice simulation06.4618-10-2026
7Offloading Rust To GPUs Proves Capable Of High Performance With Memory Safety06.6917-08-2026
8Qt Bridge for Rust 0.3 Beta: CXX-Qt Compatibility and Soundness013.623-09-2026
9net/rustconn - 0.20.2013.1915-08-2026
10Rustls 0.23.46 Released With Four Security Fixes08.414-10-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 10.34. Источник: users.rust-lang.org.