| Crates.io | reportme |
| lib.rs | reportme |
| version | 0.2.1 |
| created_at | 2024-01-13 05:13:12.714799+00 |
| updated_at | 2024-03-18 08:27:33.02855+00 |
| description | A metrics crate used in build environment. Used to know the actual usage of your crates. |
| homepage | |
| repository | https://github.com/xuxiaocheng0201/reportme/ |
| max_upload_size | |
| id | 1098308 |
| size | 13,104 |
Read this in other languages: English, 简体中文.
A Rust metrics crate used in build environment. Used to know the actual usage of your crates.
Add this to your Cargo.toml:
[build.dependencies]
reportme = "~0.2"
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"));
}