[[bench]]
harness = false
name = "unified_benchmarks_divan"
path = "benches/unified_benchmarks_divan.rs"
[[bench]]
harness = false
name = "unified_benchmarks_gungraun"
path = "benches/unified_benchmarks_gungraun.rs"
[dependencies.axum-core]
default-features = false
optional = true
version = "0.5"
[dependencies.brotli]
optional = true
version = "7"
[dependencies.bytes]
default-features = false
optional = true
version = "1"
[dependencies.corosensei]
optional = true
version = "0.3"
[dependencies.cranelift]
optional = true
version = "0.126"
[dependencies.cranelift-jit]
optional = true
version = "0.126"
[dependencies.cranelift-module]
optional = true
version = "0.126"
[dependencies.cranelift-native]
optional = true
version = "0.126"
[dependencies.facet]
default-features = false
version = "0.35.0"
[dependencies.facet-core]
default-features = false
version = "0.35.0"
[dependencies.facet-reflect]
default-features = false
features = ["miette"]
version = "0.35.0"
[dependencies.facet-solver]
version = "0.35.0"
[dependencies.futures-io]
optional = true
version = "0.3"
[dependencies.http]
optional = true
version = "^1.4.0"
[dependencies.http-body-util]
default-features = false
optional = true
version = "0.1"
[dependencies.itoa]
version = "1.0.15"
[dependencies.lexical-parse-float]
version = "1.0.5"
[dependencies.lexical-parse-integer]
version = "1.0.5"
[dependencies.log]
features = ["std"]
version = "^0.4.29"
[dependencies.memchr]
optional = true
version = "2.7"
[dependencies.miette]
default-features = false
features = ["fancy-no-backtrace"]
version = "^7.6.0"
[dependencies.mime]
default-features = false
optional = true
version = "0.3"
[dependencies.parking_lot]
optional = true
version = "0.12"
[dependencies.ryu]
version = "1"
[dependencies.strsim]
version = "0.11"
[dependencies.tokio]
default-features = false
features = ["io-util"]
optional = true
version = "1"
[[example]]
name = "citm_hot"
path = "examples/citm_hot.rs"
[[example]]
name = "json_showcase"
path = "examples/json_showcase.rs"
[[example]]
name = "test_hashmap_jit"
path = "examples/test_hashmap_jit.rs"
[features]
alloc = ["facet-core/alloc", "facet-reflect/alloc"]
axum = ["std", "dep:axum-core", "dep:bytes", "dep:http", "dep:http-body-util", "dep:mime"]
bolero-inline-tests = ["std"]
ci = ["cranelift"]
cranelift = ["std", "dep:cranelift", "dep:cranelift-jit", "dep:cranelift-module", "dep:cranelift-native", "dep:parking_lot", "dep:memchr"]
default = ["std"]
futures-io = ["std", "dep:futures-io", "streaming"]
jit = ["cranelift"]
std = ["alloc", "facet-core/std", "facet-reflect/std"]
streaming = ["std", "dep:corosensei"]
tokio = ["std", "dep:tokio", "streaming"]
[lib]
name = "facet_json"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(feature, values("jiff"))']
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "parser-implementations"]
description = "JSON serialization and deserialization for Facet types"
edition = "2024"
homepage = "https://facet.rs"
keywords = ["json", "serialization", "deserialization", "reflection", "facet"]
license = "MIT OR Apache-2.0"
name = "facet-json"
readme = "README.md"
repository = "https://github.com/facet-rs/facet-json"
rust-version = "1.89.0"
version = "0.35.0"
[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "arborium-header.html"]
[package.metadata."docs.rs"]
rustdoc-args = ["--html-in-header", "arborium-header.html"]
[[test]]
name = "array_u64"
path = "tests/array_u64.rs"
[[test]]
name = "arrays"
path = "tests/arrays.rs"
[[test]]
name = "bool"
path = "tests/bool.rs"
[[test]]
name = "borrow_test"
path = "tests/borrow_test.rs"
[[test]]
name = "boxed"
path = "tests/boxed.rs"
[[test]]
name = "bytes"
path = "tests/bytes.rs"
[[test]]
name = "camino"
path = "tests/camino.rs"
[[test]]
name = "chrono"
path = "tests/chrono.rs"
[[test]]
name = "datetime"
path = "tests/datetime.rs"
[[test]]
name = "deny_unknown_and_default"
path = "tests/deny_unknown_and_default.rs"
[[test]]
name = "deserialize"
path = "tests/deserialize.rs"
[[test]]
name = "diagnostics"
path = "tests/diagnostics.rs"
[[test]]
name = "duplicate_keys_jit"
path = "tests/duplicate_keys_jit.rs"
[[test]]
name = "enums"
path = "tests/enums.rs"
[[test]]
name = "eof_and_nulls"
path = "tests/eof_and_nulls.rs"
[[test]]
name = "err"
path = "tests/err.rs"
[[test]]
name = "escapes"
path = "tests/escapes.rs"
[[test]]
name = "field_limit_jit"
path = "tests/field_limit_jit.rs"
[[test]]
name = "flatten_advanced"
path = "tests/flatten_advanced.rs"
[[test]]
name = "flatten_enum_jit"
path = "tests/flatten_enum_jit.rs"
[[test]]
name = "flatten_struct_jit"
path = "tests/flatten_struct_jit.rs"
[[test]]
name = "generated_benchmark_tests"
path = "tests/generated_benchmark_tests.rs"
[[test]]
name = "hashmap"
path = "tests/hashmap.rs"
[[test]]
name = "issue_1190"
path = "tests/issue_1190.rs"
[[test]]
name = "issue_1191"
path = "tests/issue_1191.rs"
[[test]]
name = "issue_1228"
path = "tests/issue_1228.rs"
[[test]]
name = "issue_1236"
path = "tests/issue_1236.rs"
[[test]]
name = "issue_1297"
path = "tests/issue_1297.rs"
[[test]]
name = "issue_1431"
path = "tests/issue_1431.rs"
[[test]]
name = "issue_1434"
path = "tests/issue_1434.rs"
[[test]]
name = "jit_nested_correctness"
path = "tests/jit_nested_correctness.rs"
[[test]]
name = "map"
path = "tests/map.rs"
[[test]]
name = "nonzero"
path = "tests/nonzero.rs"
[[test]]
name = "numbers"
path = "tests/numbers.rs"
[[test]]
name = "option"
path = "tests/option.rs"
[[test]]
name = "ordered-float"
path = "tests/ordered-float.rs"
[[test]]
name = "pointer"
path = "tests/pointer.rs"
[[test]]
name = "primitives"
path = "tests/primitives.rs"
[[test]]
name = "proxy_container"
path = "tests/proxy_container.rs"
[[test]]
name = "proxy_opaque"
path = "tests/proxy_opaque.rs"
[[test]]
name = "raw_json"
path = "tests/raw_json.rs"
[[test]]
name = "rename"
path = "tests/rename.rs"
[[test]]
name = "serialize"
path = "tests/serialize.rs"
[[test]]
name = "set"
path = "tests/set.rs"
[[test]]
name = "simple_array"
path = "tests/simple_array.rs"
[[test]]
name = "skip_serializing"
path = "tests/skip_serializing.rs"
[[test]]
name = "skip_unknown_fields"
path = "tests/skip_unknown_fields.rs"
[[test]]
name = "standalone_enum_jit"
path = "tests/standalone_enum_jit.rs"
[[test]]
name = "string"
path = "tests/string.rs"
[[test]]
name = "structs"
path = "tests/structs.rs"
[[test]]
name = "tenant-config"
path = "tests/tenant-config.rs"
[[test]]
name = "transparent"
path = "tests/transparent.rs"
[[test]]
name = "tuple"
path = "tests/tuple.rs"
[[test]]
name = "ulid"
path = "tests/ulid.rs"
[[test]]
name = "uuid"
path = "tests/uuid.rs"
[[test]]
name = "value"
path = "tests/value.rs"
[[test]]
name = "vec"
path = "tests/vec.rs"