cberner / fuser

Filesystem in Userspace (FUSE) for Rust
MIT License
836 stars 114 forks source link

Export MountOption::from_str and option_to_string from mount_options.rs #229

Closed ariel-miculas closed 11 months ago

ariel-miculas commented 1 year ago

Right now I need to copy/paste this function into my code, it would be useful if these two function were exported by the library. The use case is that I want to allow mount options from the command line.

rydrman commented 1 year ago

+1 for this, I am having to do the same thing (copy) and it seems reasonable to provide implementations of std::str::FromStr and std::string::ToString for MountOptions

Happy to contribute this if it feels appropriate

cberner commented 11 months ago

See comment in the linked PR.