Skip to content

Commit

Permalink
Cleanup README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GilOliveira committed Aug 28, 2023
1 parent d0c1f8c commit cd52638
Showing 1 changed file with 0 additions and 44 deletions.
44 changes: 0 additions & 44 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,47 +21,3 @@ pub mod email;
pub mod structures;

pub use client::OmglolClient;

// #[cfg(test)]
// mod tests {
// use super::*;
// use std::env;

// // These tests are just for debugging, no proper test-driven development here
// // don't use this for anything

// fn init_client() -> (OmglolClient, String) {
// use dotenv::dotenv;
// dotenv().ok();
// let address = env::var("OMGLOL_ADDRESS").unwrap_or("foobar".to_string());
// let api_key = env::var("OMGLOL_API_KEY").unwrap_or("".to_string());
// let client = OmglolClient::new(Some(api_key));
// println!("Using account {} for testing", &address);

// return (client, address);
// }

// #[tokio::test]
// async fn main() {
// If you're learning Rust best practices, maybe you should ignore the next
// 2 lines. This is a test function so does anyone *actually* care?

//let info = client.get_profile_themes().await;

//println!("{:#?}", info);

//let info = requests::dns::get_dns_records(&address, &api_key).await;
// let info = requests::themes::get_profile_themes().await;
// let info = get_statuslog_status(&address, "63a8a6b3cbdc5").await;
// let info = get_all_statuslog_statuses(&address).await;

//let my_client = OmglolClient::new(address, api_key=api_key);

// let destinations = vec![
// EmailAddress::from_str("foo@example.net").unwrap(),
// EmailAddress::from_str("bar@example.net").unwrap(),
// ];
// let info =
// requests::email::set_forwarding_addresses(&address, &destinations, &api_key).await;
//println!("response = {:#?}", info);
//}

0 comments on commit cd52638

Please sign in to comment.