ddquery-core 0.2.0

A pure-Rust parser and explainer for Datadog monitor queries: tokenize a raw monitor query into a typed, serializable AST, then render it to JSON or a plain-language summary.
Documentation
# 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 = "2024"
name = "ddquery-core"
version = "0.2.0"
authors = ["Tyr Chen <tyr.chen@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A pure-Rust parser and explainer for Datadog monitor queries: tokenize a raw monitor query into a typed, serializable AST, then render it to JSON or a plain-language summary.
"""
homepage = "https://github.com/tyrchen/ddquery"
documentation = "https://docs.rs/ddquery-core"
readme = "README.md"
keywords = [
    "datadog",
    "monitor",
    "query",
    "parser",
    "observability",
]
categories = [
    "development-tools",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/tyrchen/ddquery"

[lib]
name = "ddquery_core"
path = "src/lib.rs"

[[example]]
name = "explain"
path = "examples/explain.rs"

[[test]]
name = "explain"
path = "tests/explain.rs"

[[test]]
name = "parse"
path = "tests/parse.rs"

[[test]]
name = "property"
path = "tests/property.rs"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.insta]
version = "1.48"
features = ["json"]

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.serde_json]
version = "1.0.150"

[lints.clippy]
all = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"