2018-03-15 06:54:18 -04:00
|
|
|
#![recursion_limit="128"]
|
2018-10-22 20:16:54 -04:00
|
|
|
#![feature(futures_api, pin, arbitrary_self_types)]
|
2018-07-03 23:44:50 -04:00
|
|
|
#![warn(unreachable_pub)]
|
2018-03-15 06:54:18 -04:00
|
|
|
|
2018-02-21 01:37:09 -05:00
|
|
|
#[macro_use]
|
|
|
|
extern crate stdweb;
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate stdweb_derive;
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
|
|
|
|
2018-02-25 06:58:20 -05:00
|
|
|
extern crate discard;
|
2018-04-25 19:01:52 -04:00
|
|
|
extern crate futures_core;
|
2018-07-04 07:34:13 -04:00
|
|
|
extern crate futures_channel;
|
2018-10-22 20:16:54 -04:00
|
|
|
extern crate futures_util;
|
2018-03-18 12:11:43 -04:00
|
|
|
extern crate futures_signals;
|
2018-10-22 20:16:54 -04:00
|
|
|
extern crate pin_utils;
|
2018-02-25 06:58:20 -05:00
|
|
|
|
2018-02-21 01:37:09 -05:00
|
|
|
|
2018-02-25 06:58:20 -05:00
|
|
|
mod macros;
|
|
|
|
mod callbacks;
|
|
|
|
mod operations;
|
|
|
|
mod dom_operations;
|
2018-02-21 01:37:09 -05:00
|
|
|
mod dom;
|
2018-02-25 06:58:20 -05:00
|
|
|
|
2018-02-21 01:37:09 -05:00
|
|
|
pub use dom::*;
|
2018-02-25 06:58:20 -05:00
|
|
|
pub mod traits;
|
2018-03-12 20:09:44 -04:00
|
|
|
pub mod animation;
|
2018-02-21 01:37:09 -05:00
|
|
|
|
2018-03-18 14:49:40 -04:00
|
|
|
pub use stdweb::web::HtmlElement;
|
|
|
|
|
|
|
|
pub mod events {
|
|
|
|
pub use stdweb::web::event::*;
|
|
|
|
}
|
|
|
|
|
2018-02-21 01:37:09 -05:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
#[test]
|
|
|
|
fn it_works() {
|
|
|
|
assert_eq!(2 + 2, 4);
|
|
|
|
}
|
|
|
|
}
|