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