Crates.io | unmemftp |
lib.rs | unmemftp |
version | 0.1.0 |
source | src |
created_at | 2020-07-02 12:24:36.624547 |
updated_at | 2020-07-02 12:24:36.624547 |
description | A quick and somewhat dirty library for testing read-only ftp clients, based on libunftp |
homepage | |
repository | https://github.com/jcaesar/ftp2mfs |
max_upload_size | |
id | 260610 |
size | 12,239 |
A quick implementation of a StorageBackend
for unFTP that returns static files from memory — Is intended for testing things that access FTP, and code-quality-wise, you probably don't want to use it outside of your dev-dependencies
.
See the tests for simple usage examples.
Currently only supports reads. Implementing writes may require implementing some sharing mechanism between different instances of the storage backend, but shouldn't be too difficult.