surql-parser 0.1.4

Standalone SurrealQL parser extracted from SurrealDB
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.94"
name = "surql-parser"
version = "0.1.4"
build = false
exclude = [
    "tools/",
    "macros/",
    "examples/",
    "scripts/",
    "transforms/",
    "tests/fixtures/",
    ".github/",
    "DIRTY_HACKS.md",
    "UPSTREAM_HASH",
    "UPSTREAM_VERSION",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone SurrealQL parser extracted from SurrealDB"
readme = "README.md"
keywords = [
    "surrealdb",
    "surrealql",
    "parser",
    "sql",
    "ast",
]
categories = [
    "parser-implementations",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/overrealdb/surql-parser"

[features]
arbitrary = []
build = ["dep:walkdir"]
cli = [
    "dep:clap",
    "dep:walkdir",
    "dep:toml",
]
default = []
surrealism = []
test-runner = [
    "dep:surrealdb",
    "dep:tokio",
]
validate-docker = []
validate-mem = []

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

[[bin]]
name = "surql"
path = "src/bin/surql.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.geo]
version = "0.32"
default-features = false

[dependencies.geo-types]
version = "0.7"

[dependencies.jsonwebtoken]
version = "10"

[dependencies.phf]
version = "0.13"
features = [
    "macros",
    "unicase",
]

[dependencies.rand]
version = "0.9"

[dependencies.reblessive]
version = "0.4"
features = ["tree"]

[dependencies.regex]
version = "1"

[dependencies.revision]
version = "0.17"

[dependencies.rust_decimal]
version = "1"
features = ["maths"]

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.storekey]
version = "0.11"

[dependencies.surrealdb]
version = "3"
features = ["kv-mem"]
optional = true
default-features = false

[dependencies.surrealdb-types]
version = "3.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
optional = true

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.unicase]
version = "2.9"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
]

[dependencies.walkdir]
version = "2"
optional = true

[dev-dependencies.pretty_assertions]
version = "1"

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

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "blocking",
]

[dev-dependencies.surrealdb]
version = "3"
features = ["kv-mem"]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.testcontainers]
version = "0.24"

[dev-dependencies.testcontainers-modules]
version = "0.12"
features = ["surrealdb"]

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.walkdir]
version = "2"