diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index ee1688a..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,5 +0,0 @@ -[unstable] -registry-auth = true - -[registries.menteeth] -index = "ssh://git@git.shipyard.rs/menteeth/crate-index.git" diff --git a/Cargo.toml b/Cargo.toml index 6a519ea..0382191 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,7 @@ [package] name = "locat" -version = "0.2.0" +version = "0.1.0" edition = "2021" -publish = ["menteeth"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/main.rs similarity index 97% rename from src/lib.rs rename to src/main.rs index d0f0d6a..f8a28c9 100644 --- a/src/lib.rs +++ b/src/main.rs @@ -4,7 +4,7 @@ use std::net::IpAddr; pub struct Locat {} impl Locat { - pub fn new(_geoip_country_db_path: &str, _analytics_db_path: &str) -> Self { + pub fn new(_geoip_country_db_path: &str, _analytics_db_path: &str0 -> Self { // TODO: read geoip db, create analytics db Self {} }