queryweave-api 0.2.1

The API runtime of queryweave: page and sort direction types for API mirrors of a domain model, with optional serde, utoipa and schemars support.
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.88"
name = "queryweave-api"
version = "0.2.1"
authors = ["Eduard Mihai Mitrică"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The API runtime of queryweave: page and sort direction types for API mirrors of a domain model, with optional serde, utoipa and schemars support."
readme = "README.md"
keywords = [
    "filter",
    "pagination",
    "serde",
    "openapi",
    "query",
]
categories = [
    "web-programming",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eduardmitrica/queryweave"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["merge-patch"]
merge-patch = ["queryweave/merge-patch"]
schemars = [
    "dep:schemars",
    "queryweave/schemars",
]
serde = [
    "dep:serde",
    "queryweave/serde",
]
utoipa = ["dep:utoipa"]
validator = ["queryweave/validator"]

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

[[test]]
name = "ui"
path = "tests/ui.rs"

[dependencies.queryweave]
version = "0.2.1"
default-features = false

[dependencies.schemars]
version = "1.2.2"
optional = true

[dependencies.serde]
version = "1.0.229"
features = ["derive"]
optional = true

[dependencies.utoipa]
version = "6.0.0"
optional = true

[dev-dependencies.serde_json]
version = "1.0.151"

[dev-dependencies.trybuild]
version = "1.0.121"

[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
redundant_field_names = "allow"
todo = "warn"

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

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

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

[lints.clippy.unwrap_used]
level = "deny"
priority = 1

[lints.clippy.wildcard_imports]
level = "deny"
priority = 1

[lints.rust]
dead_code = "warn"
missing_docs = "warn"
unreachable_code = "warn"
unsafe_code = "forbid"
unused_variables = "warn"