mirror of https://github.com/MedzikUser/imgurs
rustfmt
This commit is contained in:
parent
39f1debdd2
commit
d272e3435d
|
@ -7,11 +7,11 @@ pub mod upload_image;
|
||||||
use crate::config::toml::parse;
|
use crate::config::toml::parse;
|
||||||
use imgurs::api::ImageInfo;
|
use imgurs::api::ImageInfo;
|
||||||
|
|
||||||
|
use arboard::Clipboard;
|
||||||
use chrono::{prelude::DateTime, Utc};
|
use chrono::{prelude::DateTime, Utc};
|
||||||
use log::info;
|
use log::info;
|
||||||
use notify_rust::Notification;
|
use notify_rust::Notification;
|
||||||
use std::time::{Duration, UNIX_EPOCH};
|
use std::time::{Duration, UNIX_EPOCH};
|
||||||
use arboard::Clipboard;
|
|
||||||
|
|
||||||
pub fn print_image_info(i: ImageInfo, notify: bool) {
|
pub fn print_image_info(i: ImageInfo, notify: bool) {
|
||||||
let d = UNIX_EPOCH + Duration::from_secs(i.data.datetime.try_into().unwrap());
|
let d = UNIX_EPOCH + Duration::from_secs(i.data.datetime.try_into().unwrap());
|
||||||
|
|
Loading…
Reference in New Issue