#build-environment #metrics #report #cargo #duration #free #cloudflare

reportme

A metrics crate used in build environment. Used to know the actual usage of your crates.

4 releases

0.2.1 Mar 18, 2024
0.2.0 Jan 13, 2024
0.1.1 Jan 13, 2024
0.1.0 Jan 13, 2024

#1087 in Network programming

Download history 18/week @ 2024-07-04 123/week @ 2024-07-11 61/week @ 2024-07-18 127/week @ 2024-07-25 152/week @ 2024-08-01 125/week @ 2024-08-08 107/week @ 2024-08-15 117/week @ 2024-08-22 93/week @ 2024-08-29 32/week @ 2024-09-05 18/week @ 2024-09-12 43/week @ 2024-09-19 25/week @ 2024-09-26 63/week @ 2024-10-03 35/week @ 2024-10-10 105/week @ 2024-10-17

233 downloads per month
Used in 6 crates (5 directly)

MIT license

6KB

ReportMe

Crate GitHub last commit GitHub issues GitHub pull requests GitHub

Read this in other languages: English, 简体中文.

Description

A Rust metrics crate used in build environment. Used to know the actual usage of your crates.

Usage

Add this to your Cargo.toml:

[build.dependencies]
reportme = "~0.2"

Example

Use Cloudflare to build server. IT IS FREE!

use std::time::Duration;
use reportme::report_build;

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

Dependencies

~10–18MB
~339K SLoC