Crates.io | fav_utils |
lib.rs | fav_utils |
version | 0.0.14 |
source | src |
created_at | 2024-02-08 04:16:12.451513 |
updated_at | 2024-09-05 02:13:39.699487 |
description | Fav's utils crate; A collection of utilities and data structures for the fav project |
homepage | |
repository | https://github.com/kingwingfly/fav |
max_upload_size | |
id | 1131611 |
size | 35,516 |
This utils is an example for fav_core
.
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
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