# 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 = "promql-parser" version = "0.4.3" authors = ["The GreptimeDB Project Developers"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Parse PromQL query into AST" readme = "README.md" keywords = [ "prometheus", "promql", "parser", ] categories = ["parser-implementations"] license = "Apache-2.0" repository = "https://github.com/GreptimeTeam/promql-parser" [lib] name = "promql_parser" path = "src/lib.rs" [[example]] name = "parser" path = "examples/parser.rs" [[test]] name = "ser" path = "tests/ser.rs" [dependencies.cfgrammar] version = "0.13.5" [dependencies.chrono] version = "0.4.38" [dependencies.lazy_static] version = "1.4.0" [dependencies.lrlex] version = "0.13.5" [dependencies.lrpar] version = "0.13.5" [dependencies.regex] version = "1" [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [build-dependencies.cfgrammar] version = "0.13.5" [build-dependencies.lrlex] version = "0.13.5" [build-dependencies.lrpar] version = "0.13.5" [features] default = [] ser = [ "serde", "serde_json", ]