rust-dominator/src/lib.rs

47 lines
662 B
Rust
Raw Normal View History

2018-03-15 06:54:18 -04:00
#![recursion_limit="128"]
#![warn(unreachable_pub)]
2019-01-08 05:14:15 -05:00
#![deny(warnings)]
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-07-04 07:34:13 -04:00
extern crate futures_channel;
extern crate futures_util;
extern crate futures_signals;
extern crate pin_utils;
2018-02-25 06:58:20 -05:00
2018-02-21 01:37:09 -05:00
2018-11-01 07:40:31 -04:00
#[macro_use]
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-11-01 07:40:31 -04:00
pub mod routing;
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);
}
}