fraiseql-functions 2.3.0

Serverless functions runtime for FraiseQL — WASM and Deno backends
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"
rust-version = "1.92"
name = "fraiseql-functions"
version = "2.3.0"
authors = ["FraiseQL Team <team@fraiseql.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serverless functions runtime for FraiseQL — WASM and Deno backends"
homepage = "https://fraiseql.dev"
documentation = "https://docs.fraiseql.dev"
readme = "README.md"
keywords = [
    "graphql",
    "database",
    "compiler",
    "sql",
]
categories = [
    "database",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fraiseql/fraiseql"

[features]
host-live = [
    "fraiseql-core",
    "fraiseql-db",
    "sqlparser",
    "reqwest",
]
host-storage = ["fraiseql-storage"]
runtime-deno = ["deno_core"]
runtime-wasm = [
    "wasmtime",
    "wasmtime-wasi",
]

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.deno_core]
version = "0.290"
optional = true

[dependencies.fraiseql-core]
version = "2.3.0"
optional = true
default-features = false

[dependencies.fraiseql-db]
version = "2.3.0"
optional = true
default-features = false

[dependencies.fraiseql-error]
version = "2.3.0"
default-features = false

[dependencies.fraiseql-observers]
version = "2.3.0"

[dependencies.fraiseql-storage]
version = "2.3.0"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlparser]
version = "0.62"
optional = true

[dependencies.tokio]
version = "1.52"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "io-util",
    "io-std",
    "sync",
    "signal",
    "fs",
]

[dependencies.tracing]
version = "0.1"

[dependencies.trait-variant]
version = "0.1"

[dependencies.wasmtime]
version = "44"
features = ["component-model"]
optional = true

[dependencies.wasmtime-wasi]
version = "44"
optional = true

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

[dev-dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "postgres",
]

[dev-dependencies.testcontainers]
version = "0.27"
features = ["watchdog"]

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]

[dev-dependencies.tokio]
version = "1.52"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "io-util",
    "io-std",
    "sync",
    "signal",
    "fs",
    "full",
]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
cargo_common_metadata = "allow"
dbg_macro = "deny"
if_not_else = "allow"
lossy_float_literal = "deny"
mem_forget = "deny"
missing_assert_message = "deny"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "deny"
option_if_let_else = "allow"
or_fun_call = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "deny"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unreachable = "deny"
unused_async = "allow"
unused_enumerate_index = "allow"
unused_self = "allow"
unwrap_used = "deny"
use_self = "allow"

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

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

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

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

[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unsafe_code = "deny"
unused_imports = "warn"
unused_variables = "warn"