[package]
edition = "2024"
name = "reifydb-codec"
version = "0.10.0"
authors = ["Dominique Chuo <dominique@reifydb.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified encoding and decoding for all ReifyDB values, frames, rows, keys, and boundaries"
readme = false
license = "Apache-2.0"
resolver = "2"
[features]
default = [
"json",
"host",
]
host = ["reifydb-value/host"]
json = ["dep:serde_json"]
[lib]
name = "reifydb_codec"
path = "src/lib.rs"
doctest = false
[[test]]
name = "cross_codec"
path = "tests/cross_codec.rs"
[[test]]
name = "digest"
path = "tests/digest.rs"
[[test]]
name = "digest_row"
path = "tests/digest_row.rs"
[[test]]
name = "family_round_trip"
path = "tests/family_round_trip.rs"
[[test]]
name = "frame"
path = "tests/frame/mod.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "int128_and_dictionary_roundtrip"
path = "tests/int128_and_dictionary_roundtrip.rs"
[[test]]
name = "json"
path = "tests/json/mod.rs"
[[test]]
name = "json_decode_errors"
path = "tests/json_decode_errors.rs"
[[test]]
name = "json_decode_malformed"
path = "tests/json_decode_malformed.rs"
[[test]]
name = "key"
path = "tests/key/mod.rs"
[[test]]
name = "primitive"
path = "tests/primitive/mod.rs"
[[test]]
name = "rbcf_decode_fallbacks"
path = "tests/rbcf_decode_fallbacks.rs"
[[test]]
name = "rbcf_option_column_bytes"
path = "tests/rbcf_option_column_bytes.rs"
[[test]]
name = "row"
path = "tests/row/mod.rs"
[[test]]
name = "tag"
path = "tests/tag/mod.rs"
[[test]]
name = "value"
path = "tests/value/mod.rs"
[dependencies.arrow-array]
version = "=59.3.0"
[dependencies.arrow-buffer]
version = "=59.3.0"
[dependencies.arrow-schema]
version = "=59.3.0"
[dependencies.crc32fast]
version = "=1.5.2"
[dependencies.postcard]
version = "=1.1.3"
features = ["use-std"]
[dependencies.reifydb-value]
version = "0.10.0"
[dependencies.serde]
version = "=1.0.229"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "=1.0.151"
optional = true
[dependencies.thiserror]
version = "=2.0.21"
[dependencies.tracing]
version = "=0.1.44"
[dependencies.uuid]
version = "=1.27.0"
features = [
"serde",
"std",
]
default-features = false
[build-dependencies.reifydb-build]
version = "0.10.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "=0.14.0"