iab-specs-core
Core types, traits, and error handling for the iab-specs ecosystem.
Overview
This crate provides the shared foundation used by all iab-specs-* sub-crates:
Extensiontrait — Marker trait for type-safe extension fields on IAB specification objects. Any type implementingSerialize + Deserialize + Clone + Debug + Default + PartialEq + Send + Syncautomatically satisfiesExtension.DefaultExt— Type alias forVec<u8>, the default opaque-byte extension type.Error/Result— Shared error types covering builder errors, serialization errors, and invalid state transitions.slice_up_to!— Macro for safe sub-slicing without panics.
Features
serde_json— Enables theSerdeJsonErrorvariant inError(wrapsserde_json::Error).
License
Apache-2.0