10 releases

0.5.0 Apr 2, 2024
0.4.1 Jan 9, 2023
0.4.0 Jan 19, 2022
0.3.0 Apr 16, 2021
0.2.0 Jul 22, 2020

#1087 in Parser implementations

Download history 58/week @ 2024-07-22 92/week @ 2024-07-29 125/week @ 2024-08-05 7/week @ 2024-08-12 68/week @ 2024-08-19 118/week @ 2024-08-26 24/week @ 2024-09-02 33/week @ 2024-09-09 4/week @ 2024-09-16 149/week @ 2024-09-23 26/week @ 2024-09-30 80/week @ 2024-10-07 99/week @ 2024-10-14 92/week @ 2024-10-21 41/week @ 2024-10-28 72/week @ 2024-11-04

309 downloads per month

Apache-2.0

59KB
929 lines

Crates.io license Crates.io version GitHub Workflow Status dependency status for latest release

IAB TCString library

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

Documentation

Please go to docs.rs/lib_tcstring

Changelog

For major (or breaking) version changes, see CHANGELOG.md

Example

Cargo.toml

[dependencies]
lib_tcstring = "0.5.0"

Code

use std::convert::TryFrom;

fn main() {
    let tc_model_v2 = lib_tcstring::TcModel::try_from("COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA");

    println!("{:?}", tc_model_v2);
}

Dependencies

~215–395KB