Compare commits
4 commits
e9523f6e62
...
c05d9a68f4
Author | SHA1 | Date | |
---|---|---|---|
Lyle Mantooth | c05d9a68f4 | ||
Lyle Mantooth | 36f1bab7e9 | ||
Lyle Mantooth | c666604e2c | ||
Lyle Mantooth | 0204351caf |
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[unstable]
|
||||||
|
registry-auth = true
|
||||||
|
|
||||||
|
[registries.menteeth]
|
||||||
|
index = "ssh://git@git.shipyard.rs/menteeth/crate-index.git"
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "locat"
|
name = "locat"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = ["menteeth"]
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ use std::net::IpAddr;
|
||||||
pub struct Locat {}
|
pub struct Locat {}
|
||||||
|
|
||||||
impl 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
|
// TODO: read geoip db, create analytics db
|
||||||
Self {}
|
Self {}
|
||||||
}
|
}
|
Loading…
Reference in a new issue