fav_core 0.0.3

Fav's core crate; A collection of traits.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[`fav_core`](https://crates.io/crates/fav_core) is the core library of [`fav`](https://github.com/kingwingfly/fav), which provides the core traits needed to create an app, which fetch your remote favorite sets(lists), and pull tracked resources to local.

[`fav_utils`](https://crates.io/crates/fav_utils) provides the utilities for [`fav_cli`](https://crates.io/crates/fav_cli), which now only support [bilibili](https://www.bilibili.com)(Like Chinese Youtube).


All you need is to define data structures with [`protobuf`](https://protobuf.dev) like [this example](https://github.com/kingwingfly/fav/blob/dev/fav_utils/proto/bili.proto).

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](https://github.com/kingwingfly/fav).

To derive trait for code generated by protobuf, see [example](https://github.com/kingwingfly/fav/blob/dev/fav_utils/build.rs).