3 releases (breaking)
0.3.0 | Nov 7, 2022 |
---|---|
0.2.0 | Oct 18, 2022 |
0.1.0 | Oct 13, 2022 |
#206 in #xml
11KB
218 lines
vast-protocol
VAST protocol v4 parser on top of serde-rs.
Supported Tags
- Error
- Extensions
- Extension
- Pricing
- AdVerifications
- Verification
- JavaScriptResource
- Verification
- Wrapper
- InLine
- AdTitle
- AdSystem
- Impression
- ViewableImpression
- Viewable
- NotViewable
- ViewableUndetermined
- Category
- VASTAdTagURI
- Creatives
- Creative
- CompanionAds
- Companion
- StaticResource
- CompanionClickThrough
- Companion
- UniversalAdId
- CreativeExtension
- Linear
- NonLinearAds
- NonLinear
- StaticResource
- NonLinearClickThrough
- NonLinear
- Duration
- TrackingEvents
- TrackingEvent
- MediaFiles
- MediaFile
- Mezzanine
- VideoClicks
- ClickThrough
- ClickTracking
- CompanionAds
Features flags
chrono
: Enables DateTime related helpers e.g.v4::util::FromVastTimestamp
.
Test
vast-protocol
is tested against v4.0, v4.1 and v.4.2 XMLs found in VAST_Samples. To test in your local machine, clone VAST_Samples repo
git clone https://github.com/InteractiveAdvertisingBureau/VAST_Samples.git tests/VAST_Samples
Then run test with this command
cargo test --all-features -- --nocapture
Dependencies
~1.6–2.6MB
~48K SLoC