postgrest-parser 0.1.1

PostgREST URL-to-SQL parser for Rust and WASM
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 = "postgrest-parser"
version = "0.1.1"
authors = ["Your Name"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgREST URL-to-SQL parser for Rust and WASM"
readme = "README.md"
keywords = [
    "postgrest",
    "sql",
    "parser",
    "wasm",
    "postgresql",
]
categories = [
    "database",
    "parser-implementations",
    "wasm",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/your-org/postgrest-parser-rust"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-O4",
    "--enable-bulk-memory",
    "--enable-mutable-globals",
    "--enable-sign-ext",
    "--enable-simd",
    "--enable-nontrapping-float-to-int",
]

[features]
default = ["std"]
full = [
    "std",
    "postgres",
]
postgres = [
    "sqlx",
    "sqlx/postgres",
]
std = []
wasm = [
    "wasm-bindgen",
    "js-sys",
    "wasm-bindgen-futures",
    "console_error_panic_hook",
    "serde-wasm-bindgen",
    "web-sys",
]

[lib]
name = "postgrest_parser"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

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

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

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.nom]
version = "7.1"

[dependencies.nom_locate]
version = "4.2"

[dependencies.peekable]
version = "0.2"

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

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.7"
features = [
    "postgres",
    "runtime-tokio",
]
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["console"]
optional = true

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

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

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

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true