chicon-rs icon indicating copy to clipboard operation
chicon-rs copied to clipboard

A file abstraction system for Rust

Results 5 chicon-rs issues
Sort by recently updated
recently updated
newest added

It would be cool to write Rust code that could accept a `&dyn chicon::FileSystem` argument and then read data from a variety of file system formats. It would be nifty...

Since in `open_file`, the content is first read into a `String`, files that aren't UTF-8 cannot be opened.

While loading file from S3, the code panics with message: `no Task is currently running`. The source code, where this error happens, is [on this link](https://github.com/driyca/mongodb-uploader/blob/19fc83eede72df00d1c98efa0cc4d8a97d714877/src/persistence/files_system/s3_dataset.rs#L117) at [https://github.com/driyca / [mongodb-uploader](https://github.com/driyca/mongodb-uploader)](https://github.com/driyca/mongodb-uploader).

Would be great if we can use the output files tokio AsyncRead and AsyncWrite, it would make integrations of different file systems more transparent.