serde-unknown 0.1.0

Handle unknown fields during Serde deserialization.
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"
name = "serde-unknown"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Handle unknown fields during Serde deserialization."
documentation = "https://docs.rs/serde-unknown"
readme = "README.md"
keywords = [
    "serde",
    "deserialization",
    "unknown-fields",
    "protobuf",
    "json",
]
categories = [
    "encoding",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ZnqbuZ/serde-unknown"

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

[features]
default = ["std"]
peek = ["dep:serde_json"]
std = [
    "compact_str/std",
    "derive_more/std",
    "serde/std",
    "serde_json?/std",
]

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

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

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

[dependencies.compact_str]
version = "0.10.0"
default-features = false

[dependencies.derive_more]
version = "2.1.1"
features = [
    "constructor",
    "deref",
    "deref_mut",
]
default-features = false

[dependencies.pastey]
version = "0.2"

[dependencies.serde]
version = "1.0.229"
features = ["alloc"]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false

[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0"
features = ["alloc"]
default-features = false