This commit is contained in:
parent
75292efa7c
commit
12378cb3c7
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -241,7 +241,7 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
|
||||
|
||||
[[package]]
|
||||
name = "open-meteo-cli"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
dependencies = [
|
||||
"billboard",
|
||||
"directories",
|
||||
|
@ -2,7 +2,6 @@ use serde::{Deserialize, Serialize};
|
||||
use structopt::clap::arg_enum;
|
||||
|
||||
arg_enum! {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, PartialEq, Clone, Copy)]
|
||||
pub enum DataFormat {
|
||||
Normal,
|
||||
|
@ -2,7 +2,6 @@ use serde::{Deserialize, Serialize};
|
||||
use structopt::clap::arg_enum;
|
||||
|
||||
arg_enum! {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
|
||||
pub enum SpeedUnit {
|
||||
Kmh,
|
||||
|
@ -2,7 +2,6 @@ use serde::{Deserialize, Serialize};
|
||||
use structopt::clap::arg_enum;
|
||||
|
||||
arg_enum! {
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy)]
|
||||
pub enum TempUnit {
|
||||
Celsius,
|
||||
|
@ -151,7 +151,7 @@ fn main() {
|
||||
.text_alignment(Alignment::Left)
|
||||
.box_alignment(Alignment::Left)
|
||||
.build()
|
||||
.print(output.to_string());
|
||||
.print(output);
|
||||
} else {
|
||||
println!("{}", output);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user