magnet/aspect-rs

Usage of this crate ?

g302ge opened this issue · 2 comments

I'm a newbie in rust and I wanna using this project in my web project to control the permission on apis , But I don't know how to integrate this crate in my project

Hi LeeMaster,

I suggest you take a look at metered and try replacing the metrics system with your permissioning system.

The main benefit of aspect is that it abstracts over wrapping code whether sync or async, but it doesn't do much more than that, and this crate is mostly designed for library builders and not to be directly consumed by application developers.

thx I will try it