Crate learner

Source
Expand description

A library for fetching academic papers and their metadata from various sources including arXiv, IACR, and DOI-based repositories.

§Example

use learner::{Paper, Source};

#[tokio::main]
async fn main() -> anyhow::Result<()> {
  // Fetch from arXiv
  let paper = Paper::new("2301.07041").await?;
  println!("Title: {}", paper.title);

  Ok(())
}

Modules§

Structs§

  • Represents an author of a paper
  • Represents a complete academic paper with its metadata

Enums§

  • Errors that can occur when fetching papers
  • The source of an academic paper