open-cypher 0.2.0

An unofficial Rust parser for the openCypher query language.
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"
rust-version = "1.88"
name = "open-cypher"
version = "0.2.0"
authors = ["Austin Poor <code@austinpoor.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An unofficial Rust parser for the openCypher query language."
homepage = "https://github.com/a-poor/open-cypher"
documentation = "https://docs.rs/open-cypher"
readme = "README.md"
keywords = [
    "sql",
    "cypher",
    "graph",
    "parser",
]
categories = ["parser-implementations"]
license = "Apache-2.0"
repository = "https://github.com/a-poor/open-cypher"

[features]
default = []
serde = ["dep:serde"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false

[dependencies.lalrpop-util]
version = "0.23.1"
features = ["std"]
default-features = false

[dependencies.logos]
version = "0.16.1"

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true

[dev-dependencies.criterion]
version = "0.7.0"
features = ["html_reports"]

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

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(mutants)"]