openrtb/
lib.rs

1// Copyright (c) 2018 The openrtb-rust authors
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9extern crate phf;
10
11#[macro_use]
12extern crate serde_derive;
13
14extern crate serde;
15extern crate serde_json;
16
17#[macro_use]
18mod macros;
19mod serde_utils;
20
21pub mod native;
22pub mod v2_5;
23
24pub use v2_5 as current;
25
26#[cfg(test)]
27mod tests {
28    use super::current::*;
29
30    #[test]
31    fn test_mods() {
32        let _c = Category::Automotive(Automotive::Automotive);
33    }
34}