html5ever 0.18.0

High-performance browser-grade HTML5 parser
// Copyright 2014-2017  The html5ever Project Developers. See the
// COPYRIGHT file at the top-level directory of this distribution.
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
//> or the MIT license
// <LICENSE-MIT or>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[macro_use] extern crate quote;
extern crate syn;

use std::env;
use std::path::Path;

#[path = "macros/"]
mod match_token;

fn main() {
    let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();

    let rules_rs = Path::new(&manifest_dir).join("src/tree_builder/");

    println!("cargo:rerun-if-changed={}", rules_rs.display());