#data #utilities #favorite #bilibili #sets #fav


Fav's utils crate; A collection of utilities and data structures for the fav project

19 releases

0.0.12 Jun 18, 2024
0.0.11 Jun 6, 2024
0.0.4 May 16, 2024
0.0.2 Apr 25, 2024
0.0.1-beta4 Feb 24, 2024

#494 in Data structures

Download history 5/week @ 2024-03-12 11/week @ 2024-03-26 55/week @ 2024-04-02 115/week @ 2024-04-23 128/week @ 2024-04-30 22/week @ 2024-05-07 153/week @ 2024-05-14 18/week @ 2024-05-21 1003/week @ 2024-06-04 34/week @ 2024-06-11 140/week @ 2024-06-18 2/week @ 2024-06-25

1,179 downloads per month
Used in fav_cli

MIT license


This utils is an example for fav_core.


fav_core provides the core traits needed to create an app, which fetch your remote favorite sets(lists), and pull tracked resources to local.


fav_utils provides the utilities for fav_cli, which now only support bilibili(Like Chinese Youtube).

I really want to support more websites, and make utils and cli more generic to use, but I don't have enough time to do that. So if you like, you can make use of fav_core to create your own app!!!

All you need is to define data structures with protobuf like this example.

And impl traits in fav_core like Res, Set, Sets, Status, Attr to defined resources, and AuthOps, SetOps, SetsOps to operate resources.

After that, many Ext method will be available for you to use, helping you batchly operating resource, getting subset of resource, and so on.

Examples can be find here


~464K SLoC