turso_parser 0.7.0-pre.21

The Turso parser library
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 = "2021"
name = "turso_parser"
version = "0.7.0-pre.21"
authors = ["the Turso authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Turso parser library"
readme = "README.md"
license = "MIT"
repository = "https://github.com/tursodatabase/turso"

[features]
codspeed = []
default = []
serde = [
    "dep:serde",
    "bitflags/serde",
]
simulator = []

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

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

[dependencies.bitflags]
version = "2.9.4"

[dependencies.memchr]
version = "2.7.6"

[dependencies.miette]
version = "7.6.0"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.strum_macros]
version = "0.26"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.turso_macros]
version = "0.7.0-pre.21"

[dev-dependencies.codspeed-criterion-compat]
version = "4.2.1"

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

[dev-dependencies.fallible-iterator]
version = "0.3.0"

[target.'cfg(not(target_family = "windows"))'.dev-dependencies.pprof]
version = "0.14.0"
features = [
    "criterion",
    "flamegraph",
]

[lints.clippy]
assigning_clones = "deny"
await_holding_lock = "deny"
clear_with_drain = "deny"
collection_is_never_read = "deny"
large_stack_frames = "deny"
large_types_passed_by_value = "deny"
naive_bytecount = "deny"
or_fun_call = "deny"
redundant_clone = "deny"
stable_sort_primitive = "deny"

[lints.rust]
unstable_name_collisions = "allow"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(loom)",
    "cfg(shuttle)",
    "cfg(antithesis)",
    "cfg(nightly)",
]