lib_tcstring 0.1.0

IAB TCF (v1, v2) TCString utilities
Documentation
lib_tcstring-0.1.0 has been yanked.

CI

IAB TCString library

A utility library to work with the IAB TCF v1 & v2 strings.

NOTE: currently only TCString decoding is implemented

Documentation

Please go to docs.rs/lib_tcstring

Example

Cargo.toml

[dependencies]
lib_tcstring = "0.1.0"

Code

use std::convert::TryFrom;

let tc_model_v2 = lib_tcstring::TCModel::try_from("COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA");