chore: use libmcaptcha and libcachebust from crates.io

This commit is contained in:
Aravinth Manivannan
2023-10-17 01:03:46 +05:30
parent 9e77eec657
commit 561a847bd7
11 changed files with 245 additions and 147 deletions

View File

@@ -52,7 +52,12 @@ impl Date {
/// print date
pub fn date(&self) -> String {
format!("{}{}{}", self.time.year(), self.time.month(), self.time.date())
format!(
"{}{}{}",
self.time.year(),
self.time.month(),
self.time.date()
)
}
pub fn new(unix: i64) -> Self {