meta: prepare for publishing
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I02ee54baee048c58a480522ce79159eb6a6a6964
This commit is contained in:
parent
b1f3b4b1ff
commit
265a30d3c8
18 changed files with 102 additions and 78 deletions
|
|
@ -1,9 +1,11 @@
|
|||
[package]
|
||||
name = "ncro-metrics"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
publish = false
|
||||
name = "ncro-metrics"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
description.workspace = true
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
|
||||
[dependencies]
|
||||
prometheus.workspace = true
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ pub fn get() -> &'static Metrics {
|
|||
})
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
#[must_use]
|
||||
pub fn gather() -> String {
|
||||
let mut buf = Vec::new();
|
||||
let encoder = TextEncoder::new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue