#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

#1213 in Network programming

Download history 181/week @ 2024-07-28 85/week @ 2024-08-04 130/week @ 2024-08-11 160/week @ 2024-08-18 130/week @ 2024-08-25 14/week @ 2024-09-01 38/week @ 2024-09-08 16/week @ 2024-09-15 48/week @ 2024-09-22 21/week @ 2024-09-29 62/week @ 2024-10-06 33/week @ 2024-10-13 157/week @ 2024-10-20 61/week @ 2024-10-27 26/week @ 2024-11-03 19/week @ 2024-11-10

263 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

~11–19MB
~357K SLoC