vast-protocol

Crates.iovast-protocol
lib.rsvast-protocol
version0.3.0
sourcesrc
created_at2022-10-13 03:39:18.216122
updated_at2022-11-07 08:36:16.697722
descriptionVAST protocol v4 parser on top of serde-rs
homepagehttps://github.com/mapbox-jp/vast-protocol
repositoryhttps://github.com/mapbox-jp/vast-protocol
max_upload_size
id686859
size29,888
(yukinarit)

documentation

README

vast-protocol

VAST protocol v4 parser on top of serde-rs.

Supported Tags

  • Error
  • Extensions
    • Extension
  • Pricing
  • AdVerifications
    • Verification
      • JavaScriptResource
  • Wrapper
  • InLine
  • AdTitle
  • AdSystem
  • Impression
  • ViewableImpression
    • Viewable
    • NotViewable
    • ViewableUndetermined
  • Category
  • VASTAdTagURI
  • Creatives
  • Creative
    • CompanionAds
      • Companion
        • StaticResource
        • CompanionClickThrough
    • UniversalAdId
    • CreativeExtension
    • Linear
    • NonLinearAds
      • NonLinear
        • StaticResource
        • NonLinearClickThrough
    • Duration
    • TrackingEvents
      • TrackingEvent
    • MediaFiles
      • MediaFile
      • Mezzanine
    • VideoClicks
      • ClickThrough
      • ClickTracking

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
Commit count: 15

cargo fmt