#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

#29 in #cloudflare

Download history 110/week @ 2024-10-16 64/week @ 2024-10-23 68/week @ 2024-10-30 17/week @ 2024-11-06 52/week @ 2024-11-13 338/week @ 2024-11-20 186/week @ 2024-11-27 100/week @ 2024-12-04 75/week @ 2024-12-11 201/week @ 2024-12-18 8/week @ 2024-12-25 49/week @ 2025-01-01 98/week @ 2025-01-08 20/week @ 2025-01-15 239/week @ 2025-01-22 65/week @ 2025-01-29

425 downloads per month
Used in 4 crates (3 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–20MB
~359K SLoC