wacore-binary 0.6.0

Binary data and constants for WhatsApp protocol
Documentation
[package]
name = "wacore-binary"
version = "0.6.0"
edition = "2024"
authors = ["João Lucas <jlucaso@hotmail.com>"]
license = "MIT"
repository = "https://github.com/jlucaso1/whatsapp-rust"
description = "Binary data and constants for WhatsApp protocol"

[package.metadata.cargo-shear]
ignored = ["hashify"]

[lib]
crate-type = ["rlib"]

[features]
default = ["simd"]
simd = []
serde = ["dep:serde", "compact_str/serde"]

[dependencies]
bytes = { workspace = true }
compact_str = { workspace = true }
flate2 = { workspace = true }
hashify = { version = "0.2.9", default-features = false }
itoa = { workspace = true }
serde = { workspace = true, optional = true }
stable_deref_trait = "1.2.0"
yoke = { workspace = true }

[build-dependencies]
serde = { workspace = true, features = ["alloc"] }
serde_json = { workspace = true, features = ["std"] }

[dev-dependencies]
iai-callgrind = { workspace = true }
serde_json = { workspace = true, features = ["std"] }

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

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

[lints]
workspace = true