Compare commits

...

4 commits

Author SHA1 Message Date
Lyle Mantooth c05d9a68f4
Use SSH auth. 2023-05-19 22:04:38 -04:00
Lyle Mantooth 36f1bab7e9
Shh! This is a library! 2023-05-19 21:59:16 -04:00
Lyle Mantooth c666604e2c
Typo! 2023-05-19 21:58:38 -04:00
Lyle Mantooth 0204351caf
Publish to Shipyard. 2023-05-19 21:58:03 -04:00
3 changed files with 8 additions and 2 deletions

5
.cargo/config.toml Normal file
View file

@ -0,0 +1,5 @@
[unstable]
registry-auth = true
[registries.menteeth]
index = "ssh://git@git.shipyard.rs/menteeth/crate-index.git"

View file

@ -1,7 +1,8 @@
[package]
name = "locat"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
publish = ["menteeth"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -4,7 +4,7 @@ use std::net::IpAddr;
pub struct Locat {}
impl Locat {
pub fn new(_geoip_country_db_path: &str, _analytics_db_path: &str0 -> Self {
pub fn new(_geoip_country_db_path: &str, _analytics_db_path: &str) -> Self {
// TODO: read geoip db, create analytics db
Self {}
}