A rust implementation of FSRS scheduler.
Quickstart:
use chrono::Utc;
use fsrs::{FSRS, Card, Rating::Easy};
fn main() {
let fsrs = FSRS::default();
let card = Card::new();
let scheduled_cards = fsrs.schedule(card, Utc::now());
let updated_card = scheduled_cards.select_card(Easy);
println!("{:?}", updated_card.log);
}
run
cargo fmt
cargo clippy -- -Dwarnings
cargo clippy -- -D clippy::nursery
cargo test --release
fsrs-rs contains a Rust API for training FSRS parameters, and for using them to schedule cards.
MIT