jsonapi_core 0.2.0

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.88"
name = "jsonapi_core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A typed JSON:API v1.1 serialization library for Rust"
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"

[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"

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

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

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

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

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

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

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

[dependencies.heck]
version = "0.5"

[dependencies.jsonapi_core_derive]
version = "0.2.0"
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"