| Crates.io | greaseweazle |
| lib.rs | greaseweazle |
| version | 0.2.0 |
| created_at | 2025-07-08 14:29:15.94288+00 |
| updated_at | 2025-07-20 14:35:54.167768+00 |
| description | Support library to control a Greaseweazle from the host. |
| homepage | |
| repository | https://codeberg.org/Rua/greaseweazle-rs |
| max_upload_size | |
| id | 1742879 |
| size | 89,896 |
A Rust library for controlling a Greaseweazle from the host system.
A Greaseweazle is a device that provides direct control and raw flux-level access to a floppy drive; see https://github.com/keirf/greaseweazle/ for more information. This project is not maintained by Keir Fraser and is not affiliated with the official Greaseweazle project in any way.
The base greaseweazle crate is not designed to be user-friendly and convenient to get started quickly. It requires more in-depth knowledge than the official Greaseweazle command-line interface, and will probably not produce satisfactory results without tweaking of the inputs and outputs. This is left to higher-level wrapper crates.
libudev
: (Linux only) Use libudev when enumerating devices. This requires libudev to be available via pkg-config.
log
: Enable logging via the log crate. Currently, this emits trace logs for all Greaseweazle commands that are sent and received.
Use this library at your own risk! Bad usage or bugs may result in damage to the floppy drive or disks, or in loss of data. The library is still in a very bare, early stage, with not all functionality implemented, and minimal testing. Bugs are likely to occur, and breaking changes frequent. Issue reports and PRs are welcome!
This project is distributed under the terms of the European Union Public Licence version 1.2 or later, with extension of article 5 (compatibility clause) to any licence for distributing derivative works that have been produced by the normal use of the Work as a library. See the LICENCE.txt file in the project's root directory for the full licence text.
The important parts paraphrased (non-binding) are:
Thus, this library is permissive for linking (like MIT or Apache), but copyleft for source code use (like GPL), also known as "source-only copyleft". See here for a more in-depth summary.