[package]
edition = "2021"
rust-version = "1.92"
name = "fraiseql-error"
version = "2.1.4"
authors = ["FraiseQL Team <team@fraiseql.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Error types for FraiseQL v2"
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]
axum-compat = ["dep:axum"]
[lib]
name = "fraiseql_error"
path = "src/lib.rs"
[[test]]
name = "auth_errors"
path = "tests/auth_errors.rs"
[[test]]
name = "config_errors"
path = "tests/config_errors.rs"
[[test]]
name = "file_errors"
path = "tests/file_errors.rs"
[[test]]
name = "http_responses"
path = "tests/http_responses.rs"
required-features = ["axum-compat"]
[[test]]
name = "integration_errors"
path = "tests/integration_errors.rs"
[[test]]
name = "notification_errors"
path = "tests/notification_errors.rs"
[[test]]
name = "observer_errors"
path = "tests/observer_errors.rs"
[[test]]
name = "runtime_error"
path = "tests/runtime_error.rs"
[[test]]
name = "webhook_errors"
path = "tests/webhook_errors.rs"
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.8"
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[lints.clippy]
cargo_common_metadata = "allow"
if_not_else = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
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 = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "deny"
unsafe_code = "forbid"
unused_imports = "warn"
unused_variables = "warn"