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
309 downloads per month
59KB
929 lines
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