[][src]Crate raur_ext


raur-ext is an extension to the raur AUR RPC library. It provides request splitting (requests are limited to URI of 4443 bytes maximum length). And a way to cache packages into a hash set and query them by pkgname.



A wrapper around raur::Package. Adds the traits neccassery to store in a hash set and look them up by pkgname.



Extension functions to raur::Package

Type Definitions


A common cache type for users of this library. Libraries that make use of the AUR RPC should take in a cache, make sure to check the cache before making RPC requests. On cache misses, the library should make an RPC request and place the new packages into the cache for others to use.