-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no_std compatiblity #38
Comments
Hi there, interesting use case! Missing But I'll look forward to exploring that possibility once these traits have landed in core. Alloc might be an issue, but maybe there is some creative solution to that as well. |
I don't think A first step could be compatibility with |
|
embedded_io provides |
Those traits are very useful, and I suppose it could be an option to add new trait similar to https://docs.rs/vfs/latest/vfs/filesystem/trait.FileSystem.html which uses the |
Hmm, I am wondering what the best approach is here. Would that approach work for your use case? |
Hi!
I am looking for a generic file system abstraction which can possible be re-used with something like https://github.com/littlefs-project/littlefs / https://docs.rs/littlefs/latest/littlefs/ . My goal was to write components which depend on a generic file system abstraction which can be used on larger system like embedded Linux, but also on microcontroller which might not have a full run-time and use a custom or vendor-supplied filesystem.
Do you have any plans to add
no_std
support for your crate in the future? From what I have seen from the generic FS trait https://docs.rs/vfs/latest/vfs/filesystem/trait.FileSystem.html , alloc support is defnitely required, but there is also a dependency onstd::io
traits likeRead
andWrite
. These trait might move intocore
soon: rust-lang/rust#48331 , but those traits not being in core is what probably makes this feature non-trivial right now..Kind Regards
Robin
The text was updated successfully, but these errors were encountered: