19 releases

new 0.0.5 Apr 25, 2024
0.0.4 Apr 24, 2024
0.0.2 Mar 4, 2024
0.0.1-beta5 Feb 24, 2024

#754 in Data structures

Download history 158/week @ 2024-02-08 637/week @ 2024-02-15 295/week @ 2024-02-22 280/week @ 2024-02-29 76/week @ 2024-03-07 17/week @ 2024-03-14 4/week @ 2024-03-28 124/week @ 2024-04-04 24/week @ 2024-04-11

152 downloads per month
Used in 2 crates

MIT license

50KB
927 lines

fav_core is the core library of fav(A cli tool to download remote resources and keep a local state in protobuf).

fav_utils provides the utils for fav_cli, which now only support bilibili(Like Chinese Youtube). You can see it as a example for using this crate.

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.

To derive trait for code generated by protobuf, see example.

Dependencies

~8–24MB
~341K SLoC