Cargo.toml 914 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. name = "cdk-prometheus"
  3. version.workspace = true
  4. edition.workspace = true
  5. rust-version.workspace = true
  6. license.workspace = true
  7. homepage.workspace = true
  8. repository.workspace = true
  9. readme = "README.md"
  10. description = "Prometheus metrics export server for CDK applications"
  11. [features]
  12. default = ["system-metrics"]
  13. system-metrics = ["sysinfo"]
  14. [dependencies]
  15. # Prometheus
  16. prometheus = "0.13"
  17. # Async runtime
  18. tokio.workspace = true
  19. futures.workspace = true
  20. # Error handling
  21. anyhow.workspace = true
  22. thiserror.workspace = true
  23. # Serialization
  24. serde.workspace = true
  25. serde_json.workspace = true
  26. # System metrics (optional)
  27. sysinfo = { version = "0.32", optional = true }
  28. # Tracing
  29. tracing.workspace = true
  30. # Utility
  31. once_cell.workspace = true
  32. [dev-dependencies]
  33. tokio = { workspace = true, features = ["full"] }
  34. reqwest.workspace = true
  35. tracing-subscriber.workspace = true
  36. [lints]
  37. workspace = true