v0.35.0
This commit is contained in:
1 parent
2c03fcf248
commit
d3b492874b
95 files changed
+1628
-743
No files matched your search
+2
-7
@@ -31,19 +31,14 @@ struct V6Range {
|
||||
end: [u8; 16],
|
||||
country: [u8; 2],
|
||||
}
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum DatabaseFormat {
|
||||
#[default]
|
||||
CsvPair,
|
||||
Mmdb,
|
||||
}
|
||||
|
||||
impl Default for DatabaseFormat {
|
||||
fn default() -> Self {
|
||||
Self::CsvPair
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
enum Backend {
|
||||
Csv {
|
||||
|
||||
Reference in new issue
Block a user