4 releases
Uses new Rust 2024
| new 0.0.4 | Feb 17, 2026 |
|---|---|
| 0.0.3 | Feb 17, 2026 |
| 0.0.2 | Feb 17, 2026 |
| 0.0.1 | Feb 17, 2026 |
#300 in Video
94KB
706 lines
RustyBook
An ergonomic Facebook client in Rust
Features
Currently work-in-progress
- Posts
- Videos
- Photos
- Story
- Messages
Getting started
First you have to initialize a RustyBook client. You can create using default options or use the RustyBook::builder() to customize it.
use rustybook::RustyBook;
// default
let client = RustyBook::new().unwrap();
// builder
let client = RustyBook::builder().build().unwrap();
All methods are asynchronous and return a Result type.
Cargo.toml
[dependencies]
rustybook = "0"
Crate features
Some features in RustyBook are gated behind features that can be enabled in the Cargo.toml file.
cache- A cache layer for storing and retrieving data to avoid duplicate requests.
Dependencies
~25–44MB
~559K SLoC