hashmoney 2.0.1

Yet another hashcash implementation, with wasm support, variable date width and multiple minting strategies.
Documentation
1
2
3
4
5
6
7
use chrono::{DateTime, Local, NaiveDateTime};

pub(super) fn current_naive_date_time() -> NaiveDateTime {
    return DateTime::parse_from_rfc3339(Local::now().to_rfc3339().as_str())
        .unwrap()
        .naive_local();
}