ajrcarey /
pdfium-render
A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project.
72/100 healthLoading repository data…
jD91mZM2 / repository
A high-level idiomatic wrapper around rust-fuse
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
An ambigious attempt to wrap the amazing rust-fuse project in idiomatic Rust.
The regular fuse project requires you to write code like
fn operation(&mut self, req: &Request, inode: u64, reply: ReplyKind) {
let value = match thing() {
Ok(ok) => ok,
Err(err) => {
reply.error(err);
return;
},
};
reply.do_thing(value + 1);
}
, mainly because instead of using return values like Result, they
use different Reply structs as arguments. On top of it, most/all
Reply structs have an error function, but there's no common
trait that adds these.
So while the fuse project is great for low-level applications, you can see how writing bigger projects in it can take a lot of time and boilerplate. With a tiny bit of abstraction, we can do better.
fn operation(&mut self, req: &mut Request) -> Result<returns::Kind> {
let value = thing()?;
value + 1
}
Meet EasyFuse. It's a high-level wrapper around rust-fuse that
Result.EasyFuse changes the way you implement fuse filesystems. Instead of implementing an entire filesystem, you simply implement one file or one directory (commonly called one "resource"), and then compose them together.
It also comes with a few standard resource types, such as a static directory. This is useful for when you want to glue together multiple dynamic filesystems with a static prefix.
Selected from shared topics, language and repository description—not editorial ratings.
ajrcarey /
A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project.
72/100 healthvtfr /
A high-level idiomatic shader-slang Rust binding (and generator)
42/100 health