Skip to content

Commit

Permalink
alrighty
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekrubin committed Nov 2, 2023
1 parent f97dbfe commit 8d07e73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
6 changes: 0 additions & 6 deletions crates/utiles-cli/src/bin.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
use std::io::BufRead;

use clap::{Args, Parser, Subcommand, ValueEnum};

use tracing_subscriber;

mod cli;

#[tokio::main]
Expand Down
4 changes: 2 additions & 2 deletions crates/utiles-cli/src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use clap::{Parser, Subcommand, ValueEnum};
use std::io;
use std::io::BufRead;
use tracing::{debug, info};
use tracing_subscriber;
use tracing::debug;

use tracing_subscriber::util::SubscriberInitExt;
use utiles::bbox::BBox;
use utiles::tiles;
Expand Down
3 changes: 1 addition & 2 deletions crates/utiles/src/bbox.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use serde::{Deserialize, Serialize};

use crate::tiles;
use crate::lnglat::LngLat;
use crate::tile::Tile;
use crate::zoom::ZoomOrZooms;

#[derive(Debug, Clone, Copy, PartialEq, Deserialize, Serialize)]
pub struct BBoxTuple(f64, f64, f64, f64);
Expand Down Expand Up @@ -214,6 +212,7 @@ impl From<&String> for BBox {
self::BBox::from(tuple)
}
}

impl From<String> for BBox {
fn from(s: String) -> Self {
self::BBox::from(&s)
Expand Down

0 comments on commit 8d07e73

Please sign in to comment.