[[bench]]
harness = false
name = "vs_postcard"
path = "benches/vs_postcard.rs"
[dependencies.axum-core]
default-features = false
optional = true
version = "0.5"
[dependencies.bytes]
default-features = false
optional = true
version = "^1.11.0"
[dependencies.bytestring]
default-features = false
optional = true
version = "^1.4.0"
[dependencies.camino]
optional = true
version = "^1.2.1"
[dependencies.chrono]
default-features = false
features = ["alloc"]
optional = true
version = "^0.4.42"
[dependencies.compact_str]
default-features = false
optional = true
version = "^0.9.0"
[dependencies.facet-core]
default-features = false
version = "0.41.0"
[dependencies.facet-format]
version = "0.41.0"
[dependencies.facet-path]
default-features = false
features = ["alloc"]
version = "0.41.0"
[dependencies.facet-reflect]
default-features = false
version = "0.41.0"
[dependencies.http]
optional = true
version = "^1.4.0"
[dependencies.http-body-util]
default-features = false
optional = true
version = "0.1"
[dependencies.jiff]
optional = true
version = "^0.2.16"
[dependencies.miette]
default-features = false
features = ["fancy-no-backtrace"]
optional = true
version = "^7.6.0"
[dependencies.ordered-float]
default-features = false
optional = true
version = "5.0.0"
[dependencies.smartstring]
default-features = false
optional = true
version = "^1.0.1"
[dependencies.time]
features = ["formatting", "macros", "parsing"]
optional = true
version = "^0.3.44"
[dependencies.tracing]
default-features = false
features = ["std"]
version = "^0.1.43"
[dependencies.ulid]
optional = true
version = "^1.2.1"
[dependencies.uuid]
optional = true
version = "^1.19.0"
[[example]]
name = "profile_vec_u32"
path = "examples/profile_vec_u32.rs"
[[example]]
name = "profile_vec_u8"
path = "examples/profile_vec_u8.rs"
[features]
alloc = ["facet-core/alloc", "facet-reflect/alloc", "facet-path/alloc"]
axum = ["std", "dep:axum-core", "dep:http", "dep:http-body-util"]
bytes = ["facet-core/bytes", "dep:bytes"]
bytestring = ["facet-core/bytestring", "dep:bytestring"]
camino = ["facet-core/camino", "dep:camino"]
chrono = ["facet-core/chrono", "dep:chrono"]
ci = ["jit"]
compact_str = ["facet-core/compact_str", "dep:compact_str"]
default = ["std", "pretty-errors"]
jiff02 = ["facet-core/jiff02", "dep:jiff"]
jit = ["facet-format/jit"]
net = ["facet-core/net"]
ordered-float = ["facet-core/ordered-float", "dep:ordered-float"]
pretty-errors = ["facet-path/pretty", "facet-reflect/miette", "dep:miette"]
smartstring = ["facet-core/smartstring", "dep:smartstring"]
std = ["alloc", "facet-core/std", "facet-reflect/std", "facet-path/std"]
time = ["facet-core/time", "dep:time"]
ulid = ["facet-core/ulid", "dep:ulid"]
uuid = ["facet-core/uuid", "dep:uuid"]
[lib]
name = "facet_postcard"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "parsing"]
description = "Postcard binary format for facet with Tier-0 and Tier-2 JIT deserialization"
edition = "2024"
homepage = "https://facet.rs"
keywords = ["postcard", "binary", "serialization", "facet", "jit"]
license = "MIT OR Apache-2.0"
name = "facet-postcard"
readme = "README.md"
repository = "https://github.com/facet-rs/facet"
rust-version = "1.89"
version = "0.41.0"
[package.metadata."docs.rs"]
rustdoc-args = ["--html-in-header", "arborium-header.html"]
[[test]]
name = "cross_compat"
path = "tests/cross_compat.rs"
[[test]]
name = "external_types"
path = "tests/external_types.rs"
[[test]]
name = "issue_1453"
path = "tests/issue_1453.rs"
[[test]]
name = "issue_1474"
path = "tests/issue_1474.rs"
[[test]]
name = "jit_vec_bool"
path = "tests/jit_vec_bool.rs"
[[test]]
name = "jit_vec_int"
path = "tests/jit_vec_int.rs"
[[test]]
name = "multi_tier"
path = "tests/multi_tier.rs"
[[test]]
name = "nested_enum_repr"
path = "tests/nested_enum_repr.rs"
[[test]]
name = "no_jit_tier0"
path = "tests/no_jit_tier0.rs"
[[test]]
name = "result_jit_diagnostic"
path = "tests/result_jit_diagnostic.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"