jsonapi_core 0.2.1

A typed JSON:API v1.1 serialization library for Rust
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.94.1"
name = "jsonapi_core"
version = "0.2.1"
build = false
exclude = ["tests/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A typed JSON:API v1.1 serialization library for Rust"
documentation = "https://docs.rs/jsonapi_core"
readme = "README.md"
keywords = [
    "jsonapi",
    "json-api",
    "serialization",
    "rest",
    "api",
]
categories = [
    "encoding",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rankitbishnoi/jsonapi_core"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
atomic-ops = []
default = ["derive"]
derive = ["dep:jsonapi_core_derive"]

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

[[example]]
name = "atomic_operations"
path = "examples/atomic_operations.rs"

[[example]]
name = "basic_deserialize"
path = "examples/basic_deserialize.rs"

[[example]]
name = "basic_serialize"
path = "examples/basic_serialize.rs"

[[example]]
name = "content_negotiation"
path = "examples/content_negotiation.rs"

[[example]]
name = "dynamic_resource"
path = "examples/dynamic_resource.rs"

[[example]]
name = "query_builder"
path = "examples/query_builder.rs"

[dependencies.heck]
version = "0.5"

[dependencies.jsonapi_core_derive]
version = "0.2.1"
optional = true

[dependencies.percent-encoding]
version = "2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.trybuild]
version = "1"
features = ["diff"]

[lints.rust]
unsafe_code = "forbid"