A utility library to work with the IAB TCF v2 strings.
NOTE: This is not an official IAB library
NOTE: Currently only TCString decoding is implemented
Please go to docs.rs/lib_tcstring
For major (or breaking) version changes see CHANGELOG.md
Cargo.toml
toml
[dependencies]
lib_tcstring = "0.4.0"
Code
```rust use std::convert::TryFrom;
fn main() { let tcmodelv2 = libtcstring::TcModel::tryfrom("COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA");
println!("{:?}", tc_model_v2);
} ```