Closed SandroHc closed 7 months ago
Fixes the compilation error on Windows due to tokio::signal::unix::SignalKind only being available on Unix systems. Should fix #36.
tokio::signal::unix::SignalKind
As a bonus, I have also fixed the following deprecation warning:
use of deprecated associated function chrono::NaiveDateTime::from_timestamp: use from_timestamp_opt() instead
chrono::NaiveDateTime::from_timestamp
from_timestamp_opt()
Hi @SandroHc Thank you for the PR.
Fixes the compilation error on Windows due to
tokio::signal::unix::SignalKind
only being available on Unix systems. Should fix #36.As a bonus, I have also fixed the following deprecation warning: