From 0e69cec02fe26114bc1abf1c5470c0053d0ceaa4 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 22 Aug 2024 20:28:38 -0700 Subject: cleanup files for packaging --- Cargo.lock | 2 +- Cargo.toml | 5 ++++- README.md | 2 +- src/lib.rs | 16 ++++------------ 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb9bf0c..aa36f04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -66,7 +66,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "ffxiv-chronowatcher" -version = "0.1.0" +version = "0.0.1" dependencies = [ "chrono", "serde", diff --git a/Cargo.toml b/Cargo.toml index b4c9dcc..22f8a6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "ffxiv-chronowatcher" -version = "0.1.0" +version = "0.0.1" edition = "2021" +exclude = [ + "src/main.rs", +] [dependencies] chrono = "0.4.38" diff --git a/README.md b/README.md index 928a371..762161e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Chronowatcher -Currently a WIP \ No newline at end of file +Chronowatcher is a Rust library for getting the time and weather of locations in Final Fantasy XIV \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index b93cf3f..f69eddc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,14 +1,6 @@ -pub fn add(left: u64, right: u64) -> u64 { - left + right -} +pub mod eorzean_time; +pub mod eorzean_weather; -#[cfg(test)] -mod tests { - use super::*; +pub use eorzean_time::*; +pub use eorzean_weather::*; - #[test] - fn it_works() { - let result = add(2, 2); - assert_eq!(result, 4); - } -} -- cgit v1.2.3