1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
//! Library to simplify using code generated by //! [entity_store_code_gen](https://crates.io/crates/entity_store_code_gen). extern crate serde; #[macro_use] extern crate serde_derive; // handy re-exports pub extern crate direction; pub extern crate cgmath; pub extern crate num; mod neighbour_count; pub use self::neighbour_count::NeighbourCount; /// Expands to the code generated by /// [entity_store_code_gen](https://crates.io/crates/entity_store_code_gen). /// Example usage: /// /// ``` /// mod entity_store { /// include_entity_store(); /// } /// ``` #[macro_export] macro_rules! include_entity_store { ($filename:expr) => { include!(concat!(env!("OUT_DIR"), concat!("/", $filename))); } }