# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "derive-prom-metrics" version = "0.1.0" authors = ["Angelo Lovatto "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Build Prometheus metrics declaratively as structs" readme = "README.md" keywords = [ "derive", "macro", "prometheus", ] categories = [ "development-tools", "rust-patterns", ] license = "MIT OR Apache-2.0" repository = "https://github.com/0xangelo/derive-prom-metrics" [lib] name = "derive_prom_metrics" path = "src/lib.rs" proc-macro = true [[example]] name = "metrics" path = "examples/metrics.rs" [dependencies.darling] version = "0.20" [dependencies.itertools] version = "0.13" [dependencies.proc-macro2] version = "1" [dependencies.quote] version = "1" [dependencies.syn] version = "2" features = [ "extra-traits", "full", ] [dev-dependencies.prometheus] version = "0.13" [lints.clippy] todo = "warn" unwrap_used = "warn" [lints.clippy.nursery] level = "warn" priority = 1