From 5a3d52c803204dd472d42994830fa770c1e9147d Mon Sep 17 00:00:00 2001 From: wznmickey Date: Tue, 23 Apr 2024 00:02:30 +0800 Subject: [PATCH] v0.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- README | 8 +++----- src/download.rs | 3 --- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 03bfa34..cabb0a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -133,7 +133,7 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "canvas_syncer" -version = "0.1.1" +version = "0.2.0" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index e82bbde..ed61f9c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "canvas_syncer" -version = "0.1.1" +version = "0.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README b/README index 20c0a7d..a3725eb 100644 --- a/README +++ b/README @@ -1,13 +1,11 @@ Plan to implement Canvas-Syncer in rust to gain higher reability and extension. -Current Version: 0.1.0 +Current Version: 0.2.0 -Now support: download files and folders from canvas to local. -Not supported: update files. Roadmap: -1. use blocking to complete basic functions -2. switch to async +1. use blocking to complete basic functions (finished) +2. switch to async (partly finished) 3. support features(i.e. file filter,detail downloading config) 4. allow uploading diff --git a/src/download.rs b/src/download.rs index d9921c2..ef363d2 100644 --- a/src/download.rs +++ b/src/download.rs @@ -2,10 +2,7 @@ use crate::course::*; use reqwest::blocking; use reqwest::blocking::Response; use reqwest::header; -use reqwest::*; -use reqwest::{self}; use serde_json::Value; -// use std::fs; use std::io::Write; use std::path::{Path, PathBuf}; use std::rc::Rc;