Crate raur_ext

Source
Expand description

§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.

Structs§

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

Traits§

  • Extension functions to raur::Package

Type Aliases§

  • 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.