[package]
edition = "2021"
rust-version = "1.92"
name = "fraiseql-error"
version = "2.10.0"
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 = "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"]
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[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"