Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ksh-b committed Apr 30, 2023
1 parent 2a3325b commit 3bef90c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[package]
name = "haven"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pub mod wh_collection;
pub mod wh_collections;
pub mod wh_search;

/// Simple program to greet a person
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
struct Args {
Expand All @@ -34,7 +33,7 @@ struct Args {
#[tokio::main]
async fn main() {
let client = Client::new();
let matches = Command::new("walrs")
let matches = Command::new("haven")
.arg(Arg::new("user")
.short('u')
.required(false)
Expand Down
13 changes: 0 additions & 13 deletions src/wh_collection.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
// Example code that deserializes and serializes the model.
// extern crate serde;
// #[macro_use]
// extern crate serde_derive;
// extern crate serde_json;
//
// use generated_module::[object Object];
//
// fn main() {
// let json = r#"{"answer": 42}"#;
// let model: [object Object] = serde_json::from_str(&json).unwrap();
// }

use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
Expand Down

0 comments on commit 3bef90c

Please sign in to comment.