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
152 downloads per month
Used in 2 crates
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