OpenDAL std::fs / tokio::fs Adapter
- Dominant language
- Rust
- Stars
- 5.4k
- Forks
- 825
- Avg merge
- 1d 14m
- Merged PRs (30d)
- 127
Description
It could be intereting to provide an adapter for `std::fs` or `tokio::fs` so users can migrate to opendal as easy as:
For `std::fs`:
```diff
- use std::fs;
+ use opendal_std_fs;
```
For `tokio::fs`:
```diff
- use tokio::fs;
+ use opendal_tokio_fs;
```
There are two main issues we need to address:
- Naming: yes, naming is of course the hardest problem.
- Init: std::fs & tokio::fs are accessing global resources `file system`. But opendal needs to initiate first. We need to decide how users will use them.
Contributor guide
Research direction
Start by comparing the requested std::fs and tokio::fs entry points with OpenDAL's initialization model. Resolve the adapter naming and how users provide the required filesystem initialization; the work is done when both migration paths have an agreed, usable design.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100