oxisqlite-sqlite3-parser 0.4.1

SQL parser (as understood by SQLite)
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.workspace = true
name = "oxisqlite-sqlite3-parser"
version.workspace = true
authors = ["gwenn"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQL parser (as understood by SQLite)"
readme = "README.md"
keywords = [
    "sqlite",
    "sql",
    "parser",
    "scanner",
    "tokenizer",
]
categories = ["parser-implementations"]
license.workspace = true
repository.workspace = true

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

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

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

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

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

[[bench]]
name = "keyword"
path = "benches/keyword.rs"

[dependencies.bitflags]
workspace = true

[dependencies.fallible-iterator]
workspace = true

# indexmap/memchr/phf (below), and the env_logger dev-dependency further
# down, intentionally stay crate-local version pins rather than
# workspace = true: this manifest is the C-free fork of limbo's
# `sqlite3-parser` crate, and none of these is shared with another workspace
# member at a *different* version, so pinning them locally keeps this
# Cargo.toml diffable line-for-line against upstream limbo 0.0.22 for future
# merges. (env_logger specifically also can't cleanly inherit here: this
# crate wants `default-features = false`, but `workspace.dependencies`
# doesn't set that, and Cargo warns — soon errors — on a member overriding
# `default-features` the workspace declaration didn't itself set.)
# `log` (above) WAS swept to workspace = true: it is already a shared
# workspace-wide dep and had drifted from the workspace's declared version
# (0.4.33 pinned here vs "0.4" workspace-wide) — the concrete hygiene bug
# workspace-level deps exist to prevent.
[dependencies.indexmap]
version = "2.14"

[dependencies.log]
workspace = true

[dependencies.memchr]
version = "2.8"

[dependencies.miette]
workspace = true

[dependencies.phf]
version = "0.14"
features = ["uncased"]

[dependencies.serde]
workspace = true
optional = true

[dependencies.strum]
workspace = true
features = ["derive"]

[dependencies.strum_macros]
workspace = true

[dependencies.uncased]
workspace = true

[dev-dependencies.env_logger]
version = "0.11"
default-features = false


[features]
NDEBUG = []
YYCOVERAGE = []
YYNOERRORRECOVERY = []
YYTRACKMAXSTACKDEPTH = []
default = [
    "YYNOERRORRECOVERY",
    "NDEBUG",
]
serde = [
    "dep:serde",
    "indexmap/serde",
    "bitflags/serde",
]

[badges.maintenance]
status = "experimental"

[lints.rust]
dead_code = "allow"
non_snake_case = "allow"