photon-protocol 0.2.0

Internal codec and compression traits for Photon
Documentation
[package]
name = "photon-protocol"
version.workspace = true
description = "Internal codec and compression traits for Photon"
edition.workspace = true
license.workspace = true
repository.workspace = true
publish = true

[dependencies]
photon-core.workspace = true

bytes.workspace = true
postcard.workspace = true
serde.workspace = true
thiserror.workspace = true
brotli.workspace = true
lz4_flex.workspace = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
zstd = { workspace = true, features = ["default"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
ruzstd.workspace = true

[lib]
bench = false

[dev-dependencies]
criterion.workspace = true

[[bench]]
name = "codec"
harness = false

[[bench]]
name = "compressor"
harness = false

[lints]
workspace = true