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

#1282 in Parser implementations

Download history 25/week @ 2024-09-11 45/week @ 2024-09-18 115/week @ 2024-09-25 47/week @ 2024-10-02 86/week @ 2024-10-09 109/week @ 2024-10-16 60/week @ 2024-10-23 49/week @ 2024-10-30 63/week @ 2024-11-06 57/week @ 2024-11-13 35/week @ 2024-11-20 39/week @ 2024-11-27 24/week @ 2024-12-04 33/week @ 2024-12-11 48/week @ 2024-12-18 10/week @ 2024-12-25

115 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–390KB