docs: add some top level module documentation

This commit is contained in:
Youwen Wu 2024-09-12 00:48:26 -07:00
parent a87ccd9c2d
commit c0b47b1fbc
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 5 additions and 2 deletions

View file

@ -1,2 +1,4 @@
//! A TUI Canvas client. Also implements [libcanvas](./libcanvas/index.html), an ergonomic Rust wrapper around
//! common Canvas API operations.
pub mod libcanvas; pub mod libcanvas;
pub use reqwest::Url; pub use reqwest::Url;

View file

@ -1,6 +1,7 @@
//! An ergonomic Rust wrapper around the Canvas API. Built for Cartographer, but can also be used
//! in other projects.
use reqwest::header; use reqwest::header;
use reqwest::Url; use reqwest::{Client, Error, Url};
use reqwest::{Client, Error};
use std::env; use std::env;
pub mod courses; pub mod courses;