From 2e06cee8803151af5d6dc95c0ab98856392716d1 Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Wed, 25 Oct 2023 15:21:18 -0400 Subject: [PATCH] fix: remove unused --- server/stats/Cargo.toml | 28 ---------------------------- server/stats/src/lib.rs | 16 ---------------- 2 files changed, 44 deletions(-) delete mode 100644 server/stats/Cargo.toml delete mode 100644 server/stats/src/lib.rs diff --git a/server/stats/Cargo.toml b/server/stats/Cargo.toml deleted file mode 100644 index c6ee4098..00000000 --- a/server/stats/Cargo.toml +++ /dev/null @@ -1,28 +0,0 @@ -[package] -name = "model" -version = "1.3.4" -edition = "2021" -publish = false - -[lib] -name = "model" -path = "src/lib.rs" - -[dependencies] -chrono = { version = "0.4.19", features = ["serde"] } -futures = "0.3.25" -geo = "0.25.0" -geojson = "0.24.0" -geo-types = "0.7.9" -geo_repair = { path = "../geo_repair" } -log = "0.4.17" -regex = "1.5" -sea-orm = { version = "0.12.1", features = [ - "sqlx-mysql", - "runtime-actix-native-tls", - "macros", -] } -serde = { version = "1.0.136", features = ["derive"] } -serde_json = "1.0" -serde_with = "2.1.0" -thiserror = "1.0.38" diff --git a/server/stats/src/lib.rs b/server/stats/src/lib.rs deleted file mode 100644 index 4f721012..00000000 --- a/server/stats/src/lib.rs +++ /dev/null @@ -1,16 +0,0 @@ -use geojson::{Feature, FeatureCollection}; -use log; -use sea_orm::DatabaseConnection; -use serde::{Deserialize, Serialize}; - -pub mod api; -pub mod db; -pub mod error; -pub mod utils; - -#[derive(Debug, Clone)] -pub struct KojiDb { - pub koji_db: DatabaseConnection, - pub data_db: DatabaseConnection, - pub unown_db: Option, -}