cezarmathe / btrfsutil-rs

Safe wrappers for libbtrfsutil.
https://crates.io/crates/btrfsutil
MIT License
6 stars 5 forks source link

Async/await #5

Open akrantz01 opened 4 years ago

akrantz01 commented 4 years ago

I'm currently using your library for a personal project with heavy usage of async code, and I was looking around in the code when I noticed a comment about planned async/await support (subvol.rs line 229). Is there any estimate for when that will be implemented?

cezarmathe commented 4 years ago

Hi!

There is no planned release schedule for async/await support since the library is currently undergoing an API redesign, kind of. There are a lot of things that could be improved(such as redundant errors, subvolume function permissions etc.), as I think you might had seen when you had browsed the code. After figuring out how to make the library API more elegant, though, we'll look into async/await support.

Regarding the schedule, I'll be away from home for almost 2 weeks, which means I'll not be able to work for a while. After coming back, though, I'll be back to work straigth away.