small fixes
All checks were successful
continuous-integration/drone/push Build is passing

* Cargo.lock update
* update how git_version generates version from commit
This commit is contained in:
Paul 2023-07-01 15:56:47 +02:00
parent 2ea6e892ab
commit 0434eae7b4
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -541,7 +541,7 @@ dependencies = [
[[package]] [[package]]
name = "ipblc" name = "ipblc"
version = "1.1.0" version = "1.2.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",

View File

@ -14,7 +14,7 @@ use std::collections::HashMap;
use std::hash::{Hash, Hasher}; use std::hash::{Hash, Hasher};
use std::path::Path; use std::path::Path;
pub const GIT_VERSION: &str = git_version!(); pub const GIT_VERSION: &str = git_version!(args = ["--always", "--dirty="]);
const MASTERSERVER: &str = "ipbl.paulbsd.com"; const MASTERSERVER: &str = "ipbl.paulbsd.com";
const WSSUBSCRIPTION: &str = "ipbl"; const WSSUBSCRIPTION: &str = "ipbl";
const CONFIG_RETRY: u64 = 1; const CONFIG_RETRY: u64 = 1;