rp-supabase-codegen 0.11.0

Build-script-first Rust bindings for PostgreSQL and Supabase schemas
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.85"
name = "rp-supabase-codegen"
version = "0.11.0"
authors = ["Roberts Pumpurs <roberts@pumpurlabs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build-script-first Rust bindings for PostgreSQL and Supabase schemas"
homepage = "https://github.com/roberts-pumpurs/supabase-rs-rp"
documentation = "https://docs.rs/rp-supabase-codegen"
readme = "README.md"
keywords = [
    "supabase",
    "postgrest",
    "codegen",
    "postgres",
    "build-script",
]
categories = [
    "database",
    "development-tools::build-utils",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/roberts-pumpurs/supabase-rs-rp"
resolver = "2"

[features]
cli = [
    "database",
    "dep:clap",
]
database = [
    "dep:postgres",
    "dep:postgres-native-tls",
    "dep:native-tls",
]
default = []

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

[[bin]]
name = "rp-supabase-codegen"
path = "src/bin/rp-supabase-codegen.rs"
required-features = ["cli"]

[[test]]
name = "snapshot_cli"
path = "tests/snapshot_cli.rs"
required-features = ["cli"]

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

[dependencies.heck]
version = "0.5"

[dependencies.native-tls]
version = "0.2"
optional = true

[dependencies.postgres]
version = "0.19.14"
optional = true

[dependencies.postgres-native-tls]
version = "0.5"
optional = true

[dependencies.prettyplease]
version = "0.2"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlparser]
version = "0.59"
features = ["std"]
default-features = false

[dependencies.syn]
version = "2"
features = ["full"]

[dependencies.thiserror]
version = "2"

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
assert_is_empty = "allow"
blanket_clippy_restriction_lints = "allow"
cargo_common_metadata = "allow"
dbg_macro = "allow"
definition_in_module_root = "allow"
doc_paragraphs_missing_punctuation = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
future_not_send = "allow"
implicit_return = "allow"
inline_modules = "allow"
inline_trait_bounds = "allow"
iter_over_hash_type = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
pattern_type_mismatch = "allow"
pub_use = "allow"
question_mark_used = "allow"
redundant_test_prefix = "allow"
ref_patterns = "allow"
renamed_function_params = "allow"
rest_pattern_accessible_field = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_unrelated = "allow"
significant_drop_tightening = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
wildcard_imports = "allow"

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.complexity]
level = "deny"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.restriction]
level = "deny"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1