radicle-feed 0.1.2

A Radicle feed library for implementing Radicle COB feeds
Documentation
mod entry;
mod feed;
mod storage;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let profile = radicle::Profile::load()?;
    let (stats, actions) = feed::process_with_memory(profile)?;
    println!("{}", stats);

    println!("=== Sample Actions ===");
    for (i, action) in actions.iter().take(5).enumerate() {
        println!("Action {}: {:#?}", i + 1, action);
    }

    if actions.len() > 5 {
        println!("... and {} more actions", actions.len() - 5);
    }

    Ok(())
}