[dependencies.axum-core]
optional = true
version = "0.5"
[dependencies.facet-core]
default-features = false
version = "0.32.2"
[dependencies.facet-reflect]
default-features = false
version = "0.32.2"
[dependencies.http]
optional = true
version = "1"
[dependencies.http-body-util]
optional = true
version = "0.1"
[dependencies.log]
version = "0.4"
[dev-dependencies.eyre]
version = "0.6"
[dev-dependencies.postcard]
features = ["alloc"]
version = "1"
[dev-dependencies.serde]
features = ["derive", "rc"]
version = "1"
[features]
alloc = ["facet-core/alloc", "facet-reflect/alloc"]
axum = ["std", "dep:axum-core", "dep:http", "dep:http-body-util"]
ci = []
default = ["std"]
std = ["alloc", "facet-core/std", "facet-reflect/std"]
[lib]
name = "facet_postcard"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "no-std", "embedded"]
description = "Postcard serialization and deserialization for Facet types"
edition = "2024"
keywords = ["postcard", "serialization", "facet", "no_std", "embedded"]
license = "MIT OR Apache-2.0"
name = "facet-postcard"
readme = "README.md"
repository = "https://github.com/facet-rs/facet"
rust-version = "1.89.0"
version = "0.32.2"
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "arborium-header.html"]
[[test]]
name = "arrays_tuples"
path = "tests/arrays_tuples.rs"
[[test]]
name = "attributes"
path = "tests/attributes.rs"
[[test]]
name = "collections"
path = "tests/collections.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "enums"
path = "tests/enums.rs"
[[test]]
name = "primitives"
path = "tests/primitives.rs"
[[test]]
name = "smart_pointers"
path = "tests/smart_pointers.rs"
[[test]]
name = "strings"
path = "tests/strings.rs"
[[test]]
name = "structs"
path = "tests/structs.rs"