Squashed 'components/mycelium/' content from commit afb32e0
git-subtree-dir: components/mycelium git-subtree-split: afb32e0cdb2d4cdd17f22a5693278068d061f08c
This commit is contained in:
25
mycelium-metrics/Cargo.toml
Normal file
25
mycelium-metrics/Cargo.toml
Normal file
@@ -0,0 +1,25 @@
|
||||
[package]
|
||||
name = "mycelium-metrics"
|
||||
version = "0.6.1"
|
||||
edition = "2021"
|
||||
license-file = "../LICENSE"
|
||||
readme = "../README.md"
|
||||
|
||||
[features]
|
||||
prometheus = ["dep:axum", "dep:prometheus", "dep:tokio", "dep:tracing"]
|
||||
|
||||
[dependencies]
|
||||
axum = { version = "0.8.4", default-features = false, optional = true, features = [
|
||||
"http1",
|
||||
"http2",
|
||||
"tokio",
|
||||
] }
|
||||
mycelium = { path = "../mycelium", default-features = false }
|
||||
prometheus = { version = "0.14.0", default-features = false, optional = true, features = [
|
||||
"process",
|
||||
] }
|
||||
tokio = { version = "1.46.1", default-features = false, optional = true, features = [
|
||||
"net",
|
||||
"rt",
|
||||
] }
|
||||
tracing = { version = "0.1.41", optional = true }
|
||||
Reference in New Issue
Block a user