pgcel 0.1.0

PostgreSQL plugin to provide Google's Common Expression Language in queries
# 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 = "pgcel"
version = "0.1.0"
authors = ["Leonid Krashanoff <leo@krashanoff.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL plugin to provide Google's Common Expression Language in queries"
homepage = "https://github.com/krashanoff/postgres-cel"
documentation = "https://docs.rs/pgcel"
readme = "README.md"
license = "MIT"

[features]
default = ["pg14"]
pg14 = [
    "pgrx/pg14",
    "pgrx-tests/pg14",
]
pg15 = [
    "pgrx/pg15",
    "pgrx-tests/pg15",
]
pg16 = [
    "pgrx/pg16",
    "pgrx-tests/pg16",
]
pg17 = [
    "pgrx/pg17",
    "pgrx-tests/pg17",
]
pg_test = []

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

[[bin]]
name = "pgrx_embed_pgcel"
path = "src/bin/pgrx_embed.rs"

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

[dependencies.base64]
version = "0.22"

[dependencies.cel-interpreter]
version = "0.8"

[dependencies.heapless]
version = "0.8"

[dependencies.pgrx]
version = "0.12"

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

[dependencies.serde_json]
version = "1.0"

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

[dev-dependencies.pgrx-tests]
version = "0.12"

[profile.dev]
lto = "thin"
panic = "unwind"

[profile.release]
opt-level = 3
lto = "fat"
panic = "unwind"